-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
No messages read from kafka #5
Comments
Thanks for reporting. I will have a look as soon as I find the time. Will keep you updated on the process. |
No changes with the buffer size to 1
|
I have the same problem after I ran the setup.py file. |
@mre Its the first time I tried to implement this project so I don't have too much experience on that. |
@mre the Docker stuck on |
@panda87 @aglagla could you guys try again now? I think I found the bug: In the beginning I had a simple After some time I discovered a bug where kafka-influxdb was not reconnecting after Kafka crashed. So I added retry handling for that case. The handler was a simple wrapper function around
The
What I should have done instead was:
So I forgot to yield the messages back to the caller. |
Many thanks for your feedback and sorry for not being more responsive. Cheers, Alexis On Wed, Oct 7, 2015 at 4:08 PM, Matthias Endler notifications@github.com
|
Thanks @aglagla. I appreciate any feedback 😃 |
Thanks @mre I'll check this now and let you know. |
@mre I cloned the updated project and just build the Dockerfile.
Maybe another packages should be updated? |
You are right @panda87. Thanks for the hint. This is fixed now. I'm loading them dynamically from the requirements.txt file. This avoids duplicate code and much confusion. Would you mind doing another test run? |
Thanks @mre I see a progress, im still getting the same errors but the images eventually built. My CollectD logs are JSON, there is a problem with that? btw, 2 questions.
D. |
Yeah, so the errors are actually C compiler warnings from a dependency, namely PyYAML 3.11. So there's not much we could do here, except maybe fixing that in upstream or switching to another library. For now it's fine I guess. The CollectD JSON format is currently not implement, but if you send me a couple of sample messages, I can have a look and maybe write an encoder for it. Maybe we can handle this in a separate issue. As for your questions:
|
I created new issue for the JSON encoder.
Thanks for your time @mre |
|
Hi @mre Finally got some time to test and, after pulling the new release and Thanks again for your responsiveness, much appreciated. Alexis On Wed, Oct 7, 2015 at 7:39 PM, Matthias Endler notifications@github.com
|
Nice! Thanks for your feedback. Closing. |
Kafka jar : kafka_2.11-0.8.2.1.jar
Python mods :
kafka-influxdb==0.5.0
kafka-python==0.9.4
config.yaml :
On a simple local configuration, kafka broker is on localhost:9092, influxdb and collectd running as well.
Collectd is sending messages to kafka (checked with kafka-console-consumer.sh)
Influxdb accepting requests.
However, when starting kafka_influxdb as follows (foreground mode)
kafka_influxdb -c ./config.yaml -vvv
lsof -nn on the process gives the following output :
It doesn't seem to be talking to kafka nor consuming any messages.
Any help would be appreciated.
Regards,
Alexis
The text was updated successfully, but these errors were encountered: