summaryrefslogtreecommitdiff
path: root/kafka/admin/client.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2019-03-23 18:01:18 -0700
committerDana Powers <dana.powers@gmail.com>2019-03-23 18:01:18 -0700
commitce9c1d2e2b8d85b2f6c3b2a2ebd280246cfea07f (patch)
treec45ff04c00b51ddbde2c4b940a2102db1a99ae7f /kafka/admin/client.py
parent8e2ed3ebb45f98e71b7c77fdd52472b815bb7ad2 (diff)
downloadkafka-python-ce9c1d2e2b8d85b2f6c3b2a2ebd280246cfea07f.tar.gz
Update sasl configuration docstrings
Diffstat (limited to 'kafka/admin/client.py')
-rw-r--r--kafka/admin/client.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/kafka/admin/client.py b/kafka/admin/client.py
index 39f7e1a..e4219e9 100644
--- a/kafka/admin/client.py
+++ b/kafka/admin/client.py
@@ -124,13 +124,13 @@ class KafkaAdminClient(object):
metrics (kafka.metrics.Metrics): Optionally provide a metrics
instance for capturing network IO stats. Default: None.
metric_group_prefix (str): Prefix for metric names. Default: ''
- sasl_mechanism (str): string picking sasl mechanism when security_protocol
- is SASL_PLAINTEXT or SASL_SSL. Currently only PLAIN is supported.
- Default: None
+ sasl_mechanism (str): Authentication mechanism when security_protocol
+ is configured for SASL_PLAINTEXT or SASL_SSL. Valid values are:
+ PLAIN, GSSAPI, OAUTHBEARER.
sasl_plain_username (str): username for sasl PLAIN authentication.
- Default: None
+ Required if sasl_mechanism is PLAIN.
sasl_plain_password (str): password for sasl PLAIN authentication.
- Default: None
+ Required if sasl_mechanism is PLAIN.
sasl_kerberos_service_name (str): Service name to include in GSSAPI
sasl mechanism handshake. Default: 'kafka'
sasl_oauth_token_provider (AbstractTokenProvider): OAuthBearer token provider