summaryrefslogtreecommitdiff
path: root/kafka/client_async.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2015-12-30 12:23:42 -0800
committerDana Powers <dana.powers@rd.io>2015-12-30 12:23:42 -0800
commit86c89cdaff0785040d43f5b6ff980bb046c782ef (patch)
tree5a28e187fae72f8d621ee39a8e52b3db081d2e9b /kafka/client_async.py
parent8dcfa9654237d8f076b355d2e3647b9b109aa5c5 (diff)
downloadkafka-python-86c89cdaff0785040d43f5b6ff980bb046c782ef.tar.gz
Rename KafkaClient.connection_failed -> is_disconnected
Diffstat (limited to 'kafka/client_async.py')
-rw-r--r--kafka/client_async.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py
index e2e68a8..06439fc 100644
--- a/kafka/client_async.py
+++ b/kafka/client_async.py
@@ -162,9 +162,9 @@ class KafkaClient(object):
log.warning("Node %s not found in current connection list; skipping", node_id)
return
+ def is_disconnected(self, node_id):
- def connection_failed(self, node_id):
"""
Check if the connection of the node has failed, based on the connection
state. Such connection failures are usually transient and can be resumed