From 9ac3cb1ec220ff9968a8b003b02e98dd11cc486b Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Tue, 26 Jun 2018 12:47:12 -0700 Subject: Document connections_max_idle_ms This was added in #1068 but never documented. Fix #1497 --- kafka/client_async.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kafka/client_async.py') diff --git a/kafka/client_async.py b/kafka/client_async.py index a9704fa..5a16f6b 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -79,6 +79,11 @@ class KafkaClient(object): the computed value. Default: 1000. request_timeout_ms (int): Client request timeout in milliseconds. Default: 30000. + connections_max_idle_ms: Close idle connections after the number of + milliseconds specified by this config. The broker closes idle + connections after connections.max.idle.ms, so this avoids hitting + unexpected socket disconnected errors on the client. + Default: 540000 retry_backoff_ms (int): Milliseconds to backoff when retrying on errors. Default: 100. max_in_flight_requests_per_connection (int): Requests are pipelined -- cgit v1.2.1