Skip to content

Commit f6cd7a3

Browse files
Allow the coordinator to auto-commit for api_version==0.8.1
1 parent 79dd508 commit f6cd7a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/coordinator/consumer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def poll(self):
256256
ensures that the consumer has joined the group. This also handles
257257
periodic offset commits if they are enabled.
258258
"""
259-
if self.group_id is None or self.config['api_version'] < (0, 8, 2):
259+
if self.group_id is None or self.config['api_version'] < (0, 8, 1):
260260
return
261261

262262
self._invoke_completed_offset_commit_callbacks()

0 commit comments

Comments
 (0)