kafka-sasl-ssl-endpoint | Rasa Documentation

Endpoints Configuration

event_broker:
  type: kafka
  security_protocol: SASL_SSL # specifies that credentials will be communicated over encrypted connection
  topic: topic
  url: localhost
  sasl_username: username
  sasl_password: password
  sasl_mechanism: PLAIN # specifies that username/password will not be protected with additional protection mechanisms
  ssl_cafile: CARoot.pem # CA certificate for the server, it is used to verify the server's certificate
  ssl_certfile: certificate.pem # client certificate, if Kafka requires that client present their certificate as a form of mutual correspondence validation
  ssl_keyfile: key.pem # client key, if Kafka requires that client present their certificate as a form of mutual correspondence validation
  ssl_check_hostname: True # verifies that the hostname of Kafka server matches the certificate