summaryrefslogtreecommitdiff
path: root/kafka/conn.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/conn.py')
-rw-r--r--kafka/conn.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/kafka/conn.py b/kafka/conn.py
index f4fbb93..88013f0 100644
--- a/kafka/conn.py
+++ b/kafka/conn.py
@@ -114,10 +114,9 @@ class BrokerConnection(object):
providing a file, only the leaf certificate will be checked against
this CRL. The CRL can only be checked with Python 3.4+ or 2.7.9+.
default: None.
- api_version (tuple): specify which Kafka API version to use. Accepted
- values are: (0, 8, 0), (0, 8, 1), (0, 8, 2), (0, 9), (0, 10)
- If None, KafkaClient will attempt to infer the broker
- version by probing various APIs. Default: None
+ api_version (tuple): Specify which Kafka API version to use.
+ Accepted values are: (0, 8, 0), (0, 8, 1), (0, 8, 2), (0, 9),
+ (0, 10). Default: (0, 8, 2)
api_version_auto_timeout_ms (int): number of milliseconds to throw a
timeout exception from the constructor when checking the broker
api version. Only applies if api_version is None