From 5e055bc49b0090450fb681bc01d4f65c8d40d8e4 Mon Sep 17 00:00:00 2001 From: Jay Chan Date: Mon, 3 Jun 2019 19:19:32 +0000 Subject: Allow the coordinator to auto-commit for all api_version. --- kafka/coordinator/consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.1