You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to write a python script that consumes the entire Kafka history of messages from index 0 using the library kafka-python, but am having trouble receiving any messages for some reason. Regardless of what I commit my index to be a poll for messages always returns empty. Is there something wrong with the order of operations?
Notice the poll at the bottom is empty despite having roughly 60 messages in each partition (...what?!).
I'm assuming committed offsets are only used on rebalance, otherwise there's an in memory offset that just increases with each poll. If im using auto.offset.reset, do I have to use a random group-id? I've added the reset and commented out the commit and so far I still don't receive any empirical results.
The text was updated successfully, but these errors were encountered:
Hi,
Trying to write a python script that consumes the entire Kafka history of messages from index 0 using the library kafka-python, but am having trouble receiving any messages for some reason. Regardless of what I commit my index to be a poll for messages always returns empty. Is there something wrong with the order of operations?
Here's the output I'm receiving thus far:
Notice the poll at the bottom is empty despite having roughly 60 messages in each partition (...what?!).
I'm assuming committed offsets are only used on rebalance, otherwise there's an in memory offset that just increases with each poll. If im using
auto.offset.reset
, do I have to use a randomgroup-id
? I've added the reset and commented out the commit and so far I still don't receive any empirical results.The text was updated successfully, but these errors were encountered: