File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ def _send_offset_commit_request(self, offsets):
538
538
# if the generation is None, we are not part of an active group
539
539
# (and we expect to be). The only thing we can do is fail the commit
540
540
# and let the user rejoin the group in poll()
541
- if generation is None :
541
+ if self . config [ 'api_version' ] >= ( 0 , 9 ) and generation is None :
542
542
return Future ().failure (Errors .CommitFailedError ())
543
543
544
544
if self .config ['api_version' ] >= (0 , 9 ):
@@ -557,9 +557,7 @@ def _send_offset_commit_request(self, offsets):
557
557
)
558
558
elif self .config ['api_version' ] >= (0 , 8 , 2 ):
559
559
request = OffsetCommitRequest [1 ](
560
- self .group_id ,
561
- generation .generation_id ,
562
- generation .member_id ,
560
+ self .group_id , - 1 , '' ,
563
561
[(
564
562
topic , [(
565
563
partition ,
You can’t perform that action at this time.
0 commit comments