-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
In what version(s) of Spring Integration are you seeing this issue?
6.x
Describe the bug
When the database is doing a failover the PostgresChannelMessageTableSubscriber
doesn't notice and will never receive new notifications.
For example on AWS RDS instance with multi-AZ standby, when performing a failover the IP address for the DNS does change. But PostgresChannelMessageTableSubscriber
never re-establishes a connection, nor has some other measurement in place to validate that the connection is still valid.
To Reproduce
Perform a DB failover. After this no more messages will be processed.
Expected behavior
Eventually the PostgresChannelMessageTableSubscriber
obtains a new connection after failover, and message processing will work again.
Sample
Sorry, not being able to provide a complete sample, as this involves infrastructure 🤷♂️