diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2020-03-02 08:58:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 08:58:53 -0800 |
commit | 34dc36d755abe6ec647efff74e284595497634ea (patch) | |
tree | 84ee6df1f3770d9c0f8e4093a2a6699671a443b8 /kafka | |
parent | d1dfb6dbf8ba108c1015ddb7245683dd946bd9ab (diff) | |
download | kafka-python-34dc36d755abe6ec647efff74e284595497634ea.tar.gz |
Fix docs by adding SASL mention
This was previously supported but wasn't documented.
Fix #1990.
Diffstat (limited to 'kafka')
-rw-r--r-- | kafka/consumer/group.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py index 458e9fd..26408c3 100644 --- a/kafka/consumer/group.py +++ b/kafka/consumer/group.py @@ -167,7 +167,8 @@ class KafkaConsumer(six.Iterator): message iteration before raising StopIteration (i.e., ending the iterator). Default block forever [float('inf')]. security_protocol (str): Protocol used to communicate with brokers. - Valid values are: PLAINTEXT, SSL. Default: PLAINTEXT. + Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL. + Default: PLAINTEXT. ssl_context (ssl.SSLContext): Pre-configured SSLContext for wrapping socket connections. If provided, all other ssl_* configurations will be ignored. Default: None. |