summaryrefslogtreecommitdiff
path: root/kafka/producer/kafka.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/producer/kafka.py')
-rw-r--r--kafka/producer/kafka.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py
index d8fb5dc..24b58fe 100644
--- a/kafka/producer/kafka.py
+++ b/kafka/producer/kafka.py
@@ -270,6 +270,8 @@ class KafkaProducer(object):
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
@@ -319,7 +321,8 @@ class KafkaProducer(object):
'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
}
_COMPRESSORS = {