Skip to content

Commit

Permalink
Added SASL username & pw to SASL-SSL producer (#7528)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-quachtran authored Dec 11, 2020
1 parent b18f700 commit bb2247c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rasa/core/brokers/kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def _create_producer(self) -> None:
ssl_certfile=self.ssl_certfile,
ssl_keyfile=self.ssl_keyfile,
ssl_check_hostname=False,
sasl_plain_username=self.sasl_username,
sasl_plain_password=self.sasl_password,
sasl_mechanism="PLAIN",
security_protocol=self.security_protocol,
client_id=self.client_id,
Expand Down

0 comments on commit bb2247c

Please sign in to comment.