summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Chan <crookedjustice@hotmail.com>2019-06-03 19:19:32 +0000
committerJeff Widman <jeff@jeffwidman.com>2019-06-20 13:00:15 -0700
commit5e055bc49b0090450fb681bc01d4f65c8d40d8e4 (patch)
treeb958ac1106c2b07d7897a55d383817a079db4e4a
parent01053daac9fa18d5497a42fb58a5a3aa8add116f (diff)
downloadkafka-python-5e055bc49b0090450fb681bc01d4f65c8d40d8e4.tar.gz
Allow the coordinator to auto-commit for all api_version.
-rw-r--r--kafka/coordinator/consumer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/coordinator/consumer.py b/kafka/coordinator/consumer.py
index b575664..9d6f4eb 100644
--- a/kafka/coordinator/consumer.py
+++ b/kafka/coordinator/consumer.py
@@ -256,7 +256,7 @@ class ConsumerCoordinator(BaseCoordinator):
ensures that the consumer has joined the group. This also handles
periodic offset commits if they are enabled.
"""
- if self.group_id is None or self.config['api_version'] < (0, 8, 2):
+ if self.group_id is None:
return
self._invoke_completed_offset_commit_callbacks()