summaryrefslogtreecommitdiff
path: root/kafka/consumer/group.py
diff options
context:
space:
mode:
authorthe-sea <huhaiyang2@huawei.com>2018-08-31 21:03:26 +0800
committerDana Powers <dana.powers@gmail.com>2018-08-31 06:03:26 -0700
commit36b53f487778e919dfe6a5940dc25c552444cc7c (patch)
treeeeb843fbdaf059c964a5f16b5b8ba82735ea43d1 /kafka/consumer/group.py
parenta7d3063d5fa1c3cb2a76c16231bb3028a6f8cde9 (diff)
downloadkafka-python-36b53f487778e919dfe6a5940dc25c552444cc7c.tar.gz
add kerberos domain name config for gssapi sasl mechanism handshake (#1542)
Diffstat (limited to 'kafka/consumer/group.py')
-rw-r--r--kafka/consumer/group.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py
index 1c3ec63..279cce0 100644
--- a/kafka/consumer/group.py
+++ b/kafka/consumer/group.py
@@ -240,6 +240,8 @@ class KafkaConsumer(six.Iterator):
Default: None
sasl_kerberos_service_name (str): Service name to include in GSSAPI
sasl mechanism handshake. Default: 'kafka'
+ sasl_kerberos_domain_name (str): kerberos domain name to use in GSSAPI
+ sasl mechanism handshake. Default: one of bootstrap servers
Note:
Configuration parameters are described in more detail at
@@ -298,7 +300,8 @@ class KafkaConsumer(six.Iterator):
'sasl_mechanism': None,
'sasl_plain_username': None,
'sasl_plain_password': None,
- 'sasl_kerberos_service_name': 'kafka'
+ 'sasl_kerberos_service_name': 'kafka',
+ 'sasl_kerberos_domain_name': None
}
DEFAULT_SESSION_TIMEOUT_MS_0_9 = 30000