11 ms·
Here is a simple example [1] where you can setup a replication for to send data for events tables where tenant_id = `3`. You can setup multiple groups, where ea
by shayonj 2y ago
Here is a simple example [1] where you can setup a replication for to send data for events tables where tenant_id = `3`. You can setup multiple groups, where each group could be a tenant [2].
Would love to hear more about the use case. I can see the use case being a bit more dynamic, where you don't have to custom define ids per se (?).
[1] https://github.com/shayonj/pg_flo/blob/main/internal/multi_tenant_rules.yml https://github.com/shayonj/pg_flo/blob/main/internal/multi_t...
[2] https://github.com/shayonj/pg_flo/tree/main?tab=readme-ov-file#group https://github.com/shayonj/pg_flo/tree/main?tab=readme-ov-fi...