streamstack
streamstack copied to clipboard
[feature] CDC for streams (create/update/delete events)
Right now there's no way for a subscriber to know when streams get created, updated, or deleted without polling the list api.
It would be great to have a change feed that emits CDC events for streams. A Flink connector, for example, could watch that feed and automatically pick up new streams or stop reading deleted ones instead of us wiring that logic by hand.
Rough idea:
- Event types:
created,updated(configchanges, seals, trims),deleted - Each event carries the
stream-id,prefix, and enough metadata for a consumer to act on it
Open questions:
- Should this be a real stream you can consume like any other, or a separate subscription API?