We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0d6273 commit b240457Copy full SHA for b240457
kafka/consumer/group.py
@@ -393,9 +393,10 @@ def poll(self, timeout_ms=0):
393
Incompatible with iterator interface -- use one or the other, not both.
394
395
Arguments:
396
- timeout_ms (int, optional): milliseconds to spend waiting in poll if
397
- data is not available. If 0, returns immediately with any
398
- records that are available now. Must not be negative. Default: 0
+ timeout_ms (int, optional): milliseconds spent waiting in poll if
+ data is not available in the buffer. If 0, returns immediately
+ with any records that are available currently in the buffer,
399
+ else returns empty. Must not be negative. Default: 0
400
401
Returns:
402
dict: topic to list of records since the last fetch for the
0 commit comments