diff options
author | Dana Powers <dana.powers@rd.io> | 2018-03-09 15:09:29 -0500 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2018-03-09 15:09:29 -0500 |
commit | e15f7d00007c372006e7fac77f7c564ed0b4d74d (patch) | |
tree | f10ab916fa655f9aa28c6ba5fd3c003c3852b13c /kafka/producer/kafka.py | |
parent | 1ffdd5caf7f10fb5372780cb9a5ac4a906cac342 (diff) | |
download | kafka-python-any_api_version.tar.gz |
Do not validate api_version against known versionsany_api_version
Diffstat (limited to 'kafka/producer/kafka.py')
-rw-r--r-- | kafka/producer/kafka.py | 3 |
1 files changed, 1 insertions, 2 deletions
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' |