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:
committed by
Dana Powers
parent
1937ce59b4
commit
1646edf7ff
@@ -136,6 +136,8 @@ class KafkaClient(object):
|
|||||||
establish the certificate's authenticity. default: none.
|
establish the certificate's authenticity. default: none.
|
||||||
ssl_keyfile (str): optional filename containing the client private key.
|
ssl_keyfile (str): optional filename containing the client private key.
|
||||||
default: none.
|
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
|
ssl_crlfile (str): optional filename containing the CRL to check for
|
||||||
certificate expiration. By default, no CRL check is done. When
|
certificate expiration. By default, no CRL check is done. When
|
||||||
providing a file, only the leaf certificate will be checked against
|
providing a file, only the leaf certificate will be checked against
|
||||||
|
|||||||
@@ -216,6 +216,8 @@ class KafkaProducer(object):
|
|||||||
establish the certificate's authenticity. default: none.
|
establish the certificate's authenticity. default: none.
|
||||||
ssl_keyfile (str): optional filename containing the client private key.
|
ssl_keyfile (str): optional filename containing the client private key.
|
||||||
default: none.
|
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
|
ssl_crlfile (str): optional filename containing the CRL to check for
|
||||||
certificate expiration. By default, no CRL check is done. When
|
certificate expiration. By default, no CRL check is done. When
|
||||||
providing a file, only the leaf certificate will be checked against
|
providing a file, only the leaf certificate will be checked against
|
||||||
@@ -280,6 +282,7 @@ class KafkaProducer(object):
|
|||||||
'ssl_certfile': None,
|
'ssl_certfile': None,
|
||||||
'ssl_keyfile': None,
|
'ssl_keyfile': None,
|
||||||
'ssl_crlfile': None,
|
'ssl_crlfile': None,
|
||||||
|
'ssl_password': None,
|
||||||
'api_version': None,
|
'api_version': None,
|
||||||
'api_version_auto_timeout_ms': 2000,
|
'api_version_auto_timeout_ms': 2000,
|
||||||
'metric_reporters': [],
|
'metric_reporters': [],
|
||||||
|
|||||||
Reference in New Issue
Block a user