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
The docs describe that subsequentconsumer.getmany() will block while on_partitions_revoked/on_partitions_assigned are being called, but it's not clear how would consumer.getmany() that is actively fetching records within timeout_ms behave.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The docs describe that subsequent
consumer.getmany()
will block whileon_partitions_revoked
/on_partitions_assigned
are being called, but it's not clear how wouldconsumer.getmany()
that is actively fetching records withintimeout_ms
behave.https://aiokafka.readthedocs.io/en/stable/consumer.html#consumer-groups-and-topic-subscriptions
Looking at the code, it seems that an active
consumer.getmany()
call will also block, if I interpret this code correctly. Am I reading this right?https://github.com/aio-libs/aiokafka/blob/master/aiokafka/consumer/fetcher.py#L1126C23-L1126C64
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions