-
Notifications
You must be signed in to change notification settings - Fork 232
Zookeeper topic and consumer names with b literal #888
Comments
I've tried with both
Maybe I'm just not using it correctly, can you tell me where ZK/pykafka saves the partitions and offsets? Is it in |
Regarding the |
@emmett9001 my mistake. The problem I was having was that I could not get it to report offset lag as I was expecting it to, I changed over to the method used in kafka_tools.py and that way I was getting the correct offset lag - so more precisely the problem was that the offsets were not being stored in Zookeeper where I was expecting them to be stored. I still get the weird This is not a 'bug' for me any longer, I just had to fully grok what pykafka was actually doing. |
I think a problem that I am facing relates to these two issues:
#567
#569
Specifically, my problem is that Zookeeper is saving the b literal inside the string of topic and consumer group names, see the log line below:
and:
My initialization of pykafka looks like this:
If I query Zookeeper with Kazoo with this bit of code:
I get this:
I don't know if this is an issue with my set up being wrong, but it's not obvious to me why it should be behaving like this. I can't get it to become part of the correct partition and start consuming from the latest offset there, because of this.
PyKafka version: 2.8.0
Kafka version: 0.8.2
Python version: 3.6.6
The text was updated successfully, but these errors were encountered: