diff options
Diffstat (limited to 'kafka/consumer/group.py')
-rw-r--r-- | kafka/consumer/group.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py index 10f2b3b..82077b1 100644 --- a/kafka/consumer/group.py +++ b/kafka/consumer/group.py @@ -53,7 +53,7 @@ class KafkaConsumer(six.Iterator): raw message value and returns a deserialized value. fetch_min_bytes (int): Minimum amount of data the server should return for a fetch request, otherwise wait up to - fetch_max_wait_ms for more data to accumulate. Default: 1024. + fetch_max_wait_ms for more data to accumulate. Default: 1. fetch_max_wait_ms (int): The maximum amount of time in milliseconds the server will block before answering the fetch request if there isn't sufficient data to immediately satisfy the @@ -135,7 +135,7 @@ class KafkaConsumer(six.Iterator): 'key_deserializer': None, 'value_deserializer': None, 'fetch_max_wait_ms': 500, - 'fetch_min_bytes': 1024, + 'fetch_min_bytes': 1, 'max_partition_fetch_bytes': 1 * 1024 * 1024, 'request_timeout_ms': 40 * 1000, 'retry_backoff_ms': 100, |