Connectors
Messaging & Event Streaming
Apache Kafka
Distributed event streaming: produce and consume messages on topics with consumer groups
- Signs in with
- Connection details
- Runs on
- Cloud or On-Prem Worker
- Operations
- 9
- Ready-made triggers
- 0
Connect Apache Kafka
- In Neblex open Connect › Connections and click New Connection.
- Search for Apache Kafka and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
| Field | What to enter |
|---|---|
| Bootstrap brokersRequired | Comma-separated host:port list, e.g. broker1:9092,broker2:9092. |
| Use TLSOptional | Turning this off sends traffic and credentials without transport encryption. Use plaintext only for a broker that explicitly requires it. |
| SASL authenticationRequired | Choose the mechanism the cluster enables. PLAIN sends the password itself, so use it only with TLS. |
| SASL usernameRequired | |
| SASL passwordRequiredSecret |
Use it in a flow
- Open a flow, open the node library and search for Apache Kafka.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
To start a flow from Apache Kafka without a ready-made trigger: a Live stream trigger with Apache Kafka as the stream source starts a run for each message as it arrives (see Streaming triggers).
Operations
9 operations in 3 groups. Each one is a step you can add to a flow.
Connection1
pingping |
Records4
Delete recordsdelete_records | Delete retained records before an offset in one partition. | |
Fetch recordsfetch_records | Fetch a bounded record page from one partition and return exact keys, values, headers, timestamps, and offsets. | |
Get partition offsetsget_partition_offsets | Get retained earliest/latest offsets and optionally resolve a timestamp to an offset. | |
Produce a recordproduce | Produce one exact record with broker acknowledgement; omitted partitions use Kafka's keyed Murmur2 selection. |
Topics4
Create a topiccreate_topic | Create a topic with a partition count + replication factor. | |
Delete a topicdelete_topic | Delete a topic. | |
Get topicget_topic | Get one topic and its exact partition identifiers. | |
List topicslist_topics | List topics and their exact partition identifiers with a bounded result count. |