streamstack
streamstack copied to clipboard
[feature] Connectors for external sources and sinks
Summary
Add connectors so PicoMQ can ingest from and export to external systems. Kafka has a right ecosystem of connectors, but very few that are light-weight.
Shape
- Runs as a separate
pico-connectorsprocess, talks to the node(s) over the Kafka protocol - Sources: Atleast Postgres (poll + CDC)
- Sinks: Postgres, ClickHouse, S3, HTTP, and others
- A source can pick the topic per record (field, header, key, hash), so one connector fans out to many streams
- A sink can template its table / index / path from the topic name
Notes
- At-least-once. Sources checkpoint to a state store, sinks use consumer-group offsets.
- PicoMQ server image stays untouched, connectors ship as their own image.
- Add detailed docs on how to onboard new connectors.
Connectors are live: https://picomq.com/docs/connectors/