Kafka Source
Thekafka source consumes messages from one or more Kafka topics using a consumer group.
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
brokers | string | yes | Comma-separated list of Kafka broker addresses. |
group_id | string | yes | Consumer group ID. |
topics | string[] | yes | List of Kafka topics to consume from. |
Message Mapping
Kafka messages are mapped to LiteJoin messages as follows:| Kafka Field | LiteJoin Field |
|---|---|
| Topic | topic |
| Key | key |
| Value | payload |
| Timestamp | timestamp |
Example
Consume orders and users from Kafka, join them, and forward to a webhook:When to Use
Use the Kafka source when:- You already have a Kafka cluster producing events
- You want LiteJoin to enrich or join Kafka streams with other data sources
- You need consumer group semantics (offset management, partition assignment)