0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)Elixir2,191 stars (2,191 stars)106 forks (106 forks)batch import
enhancementhelp wanted
説明
- Postgrex.ReplicationConnection behavior
- Configurable: should be able to setup the replication connection however a tenant would want
- Verify configuration on connection and error if tenant publication does not match expected configuration
Why?
- Trigger hooks from matching records somehow
- Bust any query caches based off of the write ahead log
- Issue 種別
- feature
- 調査方針
- First, review the Postgrex.ReplicationConnection documentation to understand the callback module structure. Then, design a GenServer that handles the replication connection, allowing configuration of the slot and publication names. The issue also suggests verifying the publication matches expected configuration on connect. Finally, consider how to expose events to trigger hooks and invalidate caches.