We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f145e37 commit f5acccfCopy full SHA for f5acccf
kafka/cluster.py
@@ -9,7 +9,7 @@
9
from kafka.vendor import six
10
11
from kafka import errors as Errors
12
-from kafka.conn import collect_hosts, dns_lookup
+from kafka.conn import collect_hosts
13
from kafka.future import Future
14
from kafka.structs import BrokerMetadata, PartitionMetadata, TopicPartition
15
@@ -189,7 +189,7 @@ def request_update(self):
189
with self._lock:
190
self._need_update = True
191
if not self._future or self._future.is_done:
192
- self._future = Future()
+ self._future = Future()
193
return self._future
194
195
def topics(self, exclude_internal_topics=True):
0 commit comments