Added ssl_password config option to KafkaProducer class, identical to… (#830)

* Added ssl_password config option to KafkaProducer class, identical to option in KafkaConsumer class

* removed non-ascii characters

* changed - to : in comments
This commit is contained in:
kierkegaard13
2016-09-15 18:28:59 -05:00
committed by Dana Powers
parent 1937ce59b4
commit 1646edf7ff
2 changed files with 5 additions and 0 deletions

View File

@@ -136,6 +136,8 @@ class KafkaClient(object):
establish the certificate's authenticity. default: none.
ssl_keyfile (str): optional filename containing the client private key.
default: none.
ssl_password (str): optional password to be used when loading the
certificate chain. default: none.
ssl_crlfile (str): optional filename containing the CRL to check for
certificate expiration. By default, no CRL check is done. When
providing a file, only the leaf certificate will be checked against

View File

@@ -216,6 +216,8 @@ class KafkaProducer(object):
establish the certificate's authenticity. default: none.
ssl_keyfile (str): optional filename containing the client private key.
default: none.
ssl_password (str): optional password to be used when loading the
certificate chain. default: none.
ssl_crlfile (str): optional filename containing the CRL to check for
certificate expiration. By default, no CRL check is done. When
providing a file, only the leaf certificate will be checked against
@@ -280,6 +282,7 @@ class KafkaProducer(object):
'ssl_certfile': None,
'ssl_keyfile': None,
'ssl_crlfile': None,
'ssl_password': None,
'api_version': None,
'api_version_auto_timeout_ms': 2000,
'metric_reporters': [],