Kafka event broker.
Kafka event broker.
url- 'url[:port]' string (or list of 'url[:port]' strings) that the producer should contact to bootstrap initial cluster metadata. This does not have to be the full node list. It just needs to have at least one broker that will respond to a Metadata API Request.
topic- Topics to subscribe to.
client_id- A name for this client. This string is passed in each request to servers and can be used to identify specific server-side log entries that correspond to this client. Also submitted to
GroupCoordinatorfor logging with respect to producer group administration.
partition_by_sender- Flag to configure whether messages are partitioned by sender_id or not
sasl_username- Username for plain authentication.
sasl_password- Password for plain authentication.
sasl_mechanism- Authentication mechanism when security_protocol is configured for SASL_PLAINTEXT or SASL_SSL. Valid values are: PLAIN, GSSAPI, OAUTHBEARER, SCRAM-SHA-256, SCRAM-SHA-512. Default:
ssl_cafile- Optional filename of ca file to use in certificate verification.
topic0 - Optional filename of file in pem format containing the client certificate, as well as any ca certificates needed to establish the certificate's authenticity.
topic1 - Optional filename containing the client private key.
topic2 - Flag to configure whether ssl handshake should verify that the certificate matches the broker's hostname.
topic3 - Protocol used to communicate with brokers. Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.
Creates broker. See the parent class for more information.
Get value of the
RASA_ENVIRONMENT environment variable.
Callback for Kafka errors.
Any exception raised from this callback will be re-raised from the triggering flush() call.
Reports the failure or success of a message delivery.
errKafkaError - The error that occurred on None on success.
msgMessage - The message that was produced or failed.