Skip to content

Commit 5a72a62

Browse files
cardy31jeffwidman
authored andcommitted
Update KafkaAdminClient Docs
Updated to include SASL_PLAINTEXT and SASL_SSL as options for security_protocol.
1 parent 5e055bc commit 5a72a62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kafka/admin/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ class KafkaAdminClient(object):
9191
partition leadership changes to proactively discover any new
9292
brokers or partitions. Default: 300000
9393
security_protocol (str): Protocol used to communicate with brokers.
94-
Valid values are: PLAINTEXT, SSL. Default: PLAINTEXT.
94+
Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.
95+
Default: PLAINTEXT.
9596
ssl_context (ssl.SSLContext): Pre-configured SSLContext for wrapping
9697
socket connections. If provided, all other ssl_* configurations
9798
will be ignored. Default: None.

0 commit comments

Comments
 (0)