-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Notifications were added to pgmq server side in pgmq/pgmq#432. This feature notifies clients when new messages are inserted into the queue tables. We can add an implementation around this to the client side API to make it polling more efficient. There's two cases where continuous polling will still be required:
- user is sending messages with a VT delay. When using a VT delay, there will be a notificaiton when the message reaches the queue but message will not be immedaitely available.
- when the message above (or any message) has its VT expire, there is no notificaiton.
There are tests written on the server side project that can be used as a starting point for how to use the notification feature.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request