-
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
Basic Docker Compose Setup Clogs CPU With Error Messages #722
Comments
|
Tested this with 3 brokers and it solved the issue of the CPU bloat. Unfortunately, I still have the same problem I describe in #724 |
@halkony Looking at the docker logs output you posted am I correct that the issue was with zookeeper and confluent kafka? |
Is zilla responsible for the __consumer-offsets topic? I didn't have this problem when working with the 1 broker example using bitnami kafka + kraft, so the combination of these images must be causing the issue. |
No, Zilla doesn't create any topics on Kafka. It will start up normally if a topic it needs doesn't exist and wait for it to become available. Zilla manages any relevant Kafka information in it's Kafka cache and loads that from the underlying Kafka cluster, making each Zilla instance stateless. |
@halkony, were you able to determine the cause of the CPU error messages? If the error was a configuration issue I will go ahead and close this ticket. |
This issue has grown stale; please reopen it if it comes up again. |
Describe the bug
Running a basic docker compose file with kafka and zilla clogs up CPU with "invalid number of brokers" message. Consumes every available cycle.
To Reproduce
Copy
mqtt.kafka.broker
from zilla-examples.Replace
./docker/compose/docker-compose.yaml
with the following file and rundocker compose up
in the directory.Running on Windows 10,
Expected behavior
I expect to run this docker compose stack and have Kafka available on port 9093 and zilla's mqtt functionality available on port 7183.
Screenshots


Desktop (please complete the following information):
Additional context
Temporary solution seems to be running a stack with at least 3 brokers. Will try this with a kraft stack later.
If this problem is unique to zilla, it'd be nice to have a timeout on these requests so my CPU doesn't get bogged down.
The text was updated successfully, but these errors were encountered: