Apache Kafka integration
Kafka integrations enable you to automatically forward events that occur in Ably to Kafka topics.
Create a Kafka integration
To create a Kafka integration in your dashboard:
- Login and select the application you wish to integrate with Kafka.
- Click the Integrations tab.
- Click the New Integration Rule button.
- Choose Firehose.
- Choose Kafka.
- Configure the Kafka settings.
- Click Create.
You can also create a Kafka integration using the Control API.
Settings
The following settings are available when creating a Kafka integration:
Setting | Description |
---|---|
Source | Specifies the event types being sent to Kafka. |
Channel filter | Filters the source channels based on a regular expression. |
Encoding | Specifies the encoding format of messages. Either JSON or MsgPack. |
Enveloped | Checkbox to set whether messages should be enveloped or not. Enveloped is the default. |
Routing key | Specifies the routing key used to route messages to Kafka topics. |
Mechanism | The SASL/SCRAM mechanism used for Kafka connection. |
Username | The username to connect to Kafka with. |
Password | The password to connect to Kafka with. |
Brokers | List of Kafka broker endpoints in the format <host>:<port> . |
Authentication mechanism
The available authentication mechanisms for Kafka are: