HTTP Source
Thehttp source opens an HTTP endpoint that accepts POST requests. External systems push events directly to LiteJoin — no polling required.
Configuration
| Field | Type | Default | Description |
|---|---|---|---|
addr | string | required | Address to listen on (e.g., :8080, 0.0.0.0:8080). |
topics | string[] | [] | If set, only accept messages for these topics. Empty = accept all. |
Sending Events
Send a JSON message to the HTTP endpoint:Request Format
| Field | Type | Required | Description |
|---|---|---|---|
topic | string | yes | Target topic name |
key | string | yes | Unique key for the message |
payload | string (JSON) | yes | JSON payload as a string |
Batch Ingestion
Send multiple messages in a single request:When to Use
Use the HTTP source when:- Your application can push events directly (webhooks, event hooks)
- You want low-latency ingestion without polling overhead
- You’re integrating with systems that support outbound webhooks