From 86c89cdaff0785040d43f5b6ff980bb046c782ef Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Wed, 30 Dec 2015 12:23:42 -0800 Subject: Rename KafkaClient.connection_failed -> is_disconnected --- kafka/client_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka/client_async.py') 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 -- cgit v1.2.1