First, I'd like to say that Orion is a fantastic project !
Feature Request
Add an asynchronous PostgreSQL LISTEN connector to Orion, enabling event-driven pipelines triggered by Postgres NOTIFY signals.
Motivation
Currently, Orion lacks a native way to react to database events in real time. A LISTEN connector would allow pipelines to be driven by Postgres notifications without polling.
Proposed Behavior
- Connect to a Postgres instance and issue
LISTEN <channel>
- Emit a message into the Orion pipeline whenever a
NOTIFY is received on the configured channel
- Support configuring one or more channels
- Handle reconnection automatically on connection loss
Example config_json
{"type":"db_listen","connection_string":"******","driver":"postgres","channels":["my_channel"],"listen_channel":"my_channel","max_connections":10}
First, I'd like to say that Orion is a fantastic project !
Feature Request
Add an asynchronous PostgreSQL
LISTENconnector to Orion, enabling event-driven pipelines triggered by PostgresNOTIFYsignals.Motivation
Currently, Orion lacks a native way to react to database events in real time. A
LISTENconnector would allow pipelines to be driven by Postgres notifications without polling.Proposed Behavior
LISTEN <channel>NOTIFYis received on the configured channelExample config_json
{"type":"db_listen","connection_string":"******","driver":"postgres","channels":["my_channel"],"listen_channel":"my_channel","max_connections":10}