Listeners¶
-
class
hermes.listeners.PostgresNotificationListener(pg_connector, notif_channel, notif_queue, error_strategy, error_queue, fire_on_start=True)¶ Bases:
hermes.components.ComponentA listener to detect event notifications from Postgres and pass onto to a processor.
Parameters: - pg_connector – A
PostgresConnectorobject - notif_channel – The string representing the notification channel to listen to updates on
- notif_queue – A
Queueto be used for notification events. - error_strategy – A
CommonErrorStrategysubclass - error_queue – A
Queueto be used for error events.
- pg_connector – A