summaryrefslogtreecommitdiff
path: root/kafka/consumer/group.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2016-01-10 19:54:14 -0800
committerDana Powers <dana.powers@rd.io>2016-01-10 21:24:33 -0800
commitb86daafeaf72f4d678d3b627d32f39ab6f0e54ec (patch)
tree2d382636178f72181768dca332db8f8c2b0a6d64 /kafka/consumer/group.py
parentd2f136073cac0c8379f357cd76b0ea163fd22a99 (diff)
downloadkafka-python-b86daafeaf72f4d678d3b627d32f39ab6f0e54ec.tar.gz
Fix sec / millisec unit bug in KafkaConsumer._poll_once()
Diffstat (limited to 'kafka/consumer/group.py')
-rw-r--r--kafka/consumer/group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py
index 3fb9c8e..c6beb25 100644
--- a/kafka/consumer/group.py
+++ b/kafka/consumer/group.py
@@ -441,7 +441,7 @@ class KafkaConsumer(six.Iterator):
return records
self._fetcher.init_fetches()
- self._client.poll(timeout_ms / 1000.0)
+ self._client.poll(timeout_ms)
return self._fetcher.fetched_records()
def position(self, partition):