From e15f7d00007c372006e7fac77f7c564ed0b4d74d Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Fri, 9 Mar 2018 15:09:29 -0500 Subject: Do not validate api_version against known versions --- kafka/producer/kafka.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kafka/producer/kafka.py') diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py index 4a93de6..52c0953 100644 --- a/kafka/producer/kafka.py +++ b/kafka/producer/kafka.py @@ -242,8 +242,7 @@ class KafkaProducer(object): default: none. api_version (tuple): Specify which Kafka API version to use. If set to None, the client will attempt to infer the broker version by probing - various APIs. For a full list of supported versions, see - KafkaClient.API_VERSIONS. Default: None + various APIs. Example: (0, 10, 2). Default: None 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 set to 'auto' -- cgit v1.2.1