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-08 09:23:57 -0700
commitebbdf8abc2eef7d2148111ba94156e8117d30daa (patch)
tree35789d3f386172bd76f7a869d4963a2143790b4f
parent9c8cb7dea19b9e791aed7e7ec27ea854119d6ac3 (diff)
downloadkafka-python-ebbdf8abc2eef7d2148111ba94156e8117d30daa.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)