File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ def ensure_coordinator_known(self):
215
215
if future .failed ():
216
216
if future .retriable ():
217
217
if getattr (future .exception , 'invalid_metadata' , False ):
218
+ log .debug ('Requesting metadata for group coordinator request: %s' , future .exception )
218
219
metadata_update = self ._client .cluster .request_update ()
219
220
self ._client .poll (future = metadata_update )
220
221
else :
@@ -532,6 +533,7 @@ def close(self):
532
533
if not self .coordinator_unknown () and self .generation > 0 :
533
534
# this is a minimal effort attempt to leave the group. we do not
534
535
# attempt any resending if the request fails or times out.
536
+ log .info ('Leaving consumer group (%s).' , self .group_id )
535
537
request = LeaveGroupRequest [0 ](self .group_id , self .member_id )
536
538
future = self ._client .send (self .coordinator_id , request )
537
539
future .add_callback (self ._handle_leave_group_response )
You can’t perform that action at this time.
0 commit comments