summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2016-04-07 16:20:07 -0700
committerDana Powers <dana.powers@gmail.com>2016-04-07 17:07:33 -0700
commit88105af1f6785c67cd215c9ac05ea0b6c40e9663 (patch)
tree80b99c5ef15872d3bf27942bc635d8af778fce63
parent3b26839e90c84f19abee68d8e7cc933f8f391859 (diff)
downloadkafka-python-88105af1f6785c67cd215c9ac05ea0b6c40e9663.tar.gz
Can no longer have coordinator_id if coordinator_unknown()
-rw-r--r--kafka/coordinator/base.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/kafka/coordinator/base.py b/kafka/coordinator/base.py
index 7ff7a04..348ee4e 100644
--- a/kafka/coordinator/base.py
+++ b/kafka/coordinator/base.py
@@ -193,12 +193,6 @@ class BaseCoordinator(object):
"""
while self.coordinator_unknown():
- # Dont look for a new coordinator node if we are just waiting
- # for connection to finish
- if self.coordinator_id is not None:
- self._client.poll()
- continue
-
future = self._send_group_coordinator_request()
self._client.poll(future=future)