Skip to content

Commit 34dc36d

Browse files
authored
Fix docs by adding SASL mention
This was previously supported but wasn't documented. Fix #1990.
1 parent d1dfb6d commit 34dc36d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kafka/consumer/group.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ class KafkaConsumer(six.Iterator):
167167
message iteration before raising StopIteration (i.e., ending the
168168
iterator). Default block forever [float('inf')].
169169
security_protocol (str): Protocol used to communicate with brokers.
170-
Valid values are: PLAINTEXT, SSL. Default: PLAINTEXT.
170+
Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.
171+
Default: PLAINTEXT.
171172
ssl_context (ssl.SSLContext): Pre-configured SSLContext for wrapping
172173
socket connections. If provided, all other ssl_* configurations
173174
will be ignored. Default: None.

0 commit comments

Comments
 (0)