Updated sinks to add a functional postgres sink API.

This commit is contained in:
2026-03-16 14:54:57 -05:00
parent 96039f6530
commit 4572c53580
8 changed files with 1326 additions and 12 deletions

View File

@@ -97,8 +97,13 @@ Compiles routes and fans out events to sinks with per-sink queue/worker isolatio
### `sinks`
Defines sink interface and sink registry. Built-ins include `stdout` and `nats`, with
additional sink implementations at varying maturity.
Defines sink interface and sink registry. Built-ins include:
- `stdout`
- `nats`
- `postgres` (downstream registers table schema + event mapper; feedkit handles create-if-missing DDL, transactional inserts, and optional prune APIs)
Detailed Postgres configuration and wiring examples live in package docs:
`sinks/doc.go`.
## Typical wiring