-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zilla get blocked when sending messages to kafka #1268
Comments
@InigoGastesi Thank you for trying out Zilla! There is a few things that could be causing the issue you are seeing.
and added your new topics to the list of
|
I have managed to solve a problem by changing these two things in the Kafka configuration. The main problem was in the listeners configuration, specifically in the EXTERNAL section. After making adjustments in the following lines, the problem was solved
And I changed these configuration from zilla.yaml
Thanks for your answer :) |
I have another question. Why when zilla is connected to kafka and it is working perfectly, but if I restart the kafka pod, zilla gets stuck? On the other hand, is there any way to have data persistence with zilla until the connection to Kafka comes back? |
@InigoGastesi, Can you double-check that you are recreating all of the topics correctly after restarting the Kafka pod? |
You were right, I wasn't creating all topics. I have another question, if the connection with Kafka is lost and an IoT device continues sending data to the Zilla proxy, when the connection with Kafka returns, will all the data created until said connection returns be sent to Kafka? |
Yes, Zilla will manage the client messages through the Cache in the |
Is it any way to configure the size limit of the cache? I searched in the documentation but I didn't see the option. |
The cache is stored on disk. Is there a specific reason to limit it or are you just wanting to define the boundaries? |
I want to define the boundaries and know if there is any limit defined by zilla |
@InigoGastesi There aren't any limits that exist for zilla specifically, but you can specify the ephemeral-volumes of a zilla pod deployment to make sure it can't grow past a certain size. Zilla only stores the data for the Kafka topics it is told to look at, so any size requirements depend on the Kafka topic size. |
Thank you very much for all answers!!! |
Describe the bug
I am using Zilla in a Kubernetes environment, installed via Helm. My goal is to use Zilla to connect MQTT messages to Kafka. I have Kafka running in the same Kubernetes cluster, but when I send an MQTT message to Zilla, the process gets stuck at the publish.multiple command from the Paho library.
To Reproduce
my kafka deployment configuration:
my zilla producer
Expected behavior
The expected behavior is either to return an error when sending messages or for the messages to be successfully sent, but the process should not get stuck.
Zilla Environment:
Describe a k8s pod:
Attach the
zilla.yaml
config file:Client Environment:
The client environment is a pod with python inside. Nothing special
The text was updated successfully, but these errors were encountered: