Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions kafka/consumer/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ def get_messages(self, count=1, block=True, timeout=0.1):
count: Indicates the maximum number of messages to be fetched
block: If True, the API will block till some messages are fetched.
timeout: If block is True, the function will block for the specified
time (in seconds) until count messages is fetched. If None,
it will block forever.
time (in seconds). If None, it will block forever.
"""
messages = []
if timeout is not None:
Expand Down