_handle_group_coordinator_response should resolve future with the coordinator id
This commit is contained in:
@@ -440,7 +440,7 @@ class AbstractCoordinator(object):
|
|||||||
# start sending heartbeats only if we have a valid generation
|
# start sending heartbeats only if we have a valid generation
|
||||||
if self.generation > 0:
|
if self.generation > 0:
|
||||||
self.heartbeat_task.reset()
|
self.heartbeat_task.reset()
|
||||||
future.success(None)
|
future.success(self.coordinator_id)
|
||||||
elif error_type is Errors.GroupAuthorizationFailedError:
|
elif error_type is Errors.GroupAuthorizationFailedError:
|
||||||
error = error_type(self.group_id)
|
error = error_type(self.group_id)
|
||||||
log.error("Group Coordinator Request failed: %s", error)
|
log.error("Group Coordinator Request failed: %s", error)
|
||||||
|
|||||||
Reference in New Issue
Block a user