You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scheduled and delayed message delivery is a good feature to support in pulsar. Basically individual message can have a header which will be set by publisher and based on the header value the broker should hold message in queue. Upon the interval is over message should be delivered to subscribers
Reacted by Yuvaraj L, Penghui Li, @tksfz, Xiao, davidmarkstartapp, suyambuganesh, Hoang Dinh, Sergey Zhemzhitsky and Ashu Gupta
We would like to use such a feature to implement an AUTO Dead Letter Queue (DLQ). Any messages that cannot be processed from the main topic can be sent to the AUTO DLQ topic and only become "visible" after a particular time depending on the retry and backoff algorithm.
We would like to use such a feature to implement an AUTO Dead Letter Queue (DLQ). Any messages that cannot be processed from the main topic can be sent to the AUTO DLQ topic and only become "visible" after a particular time depending on the retry and backoff algorithm.
I think if all messages with the same delay time in the topic, use Dead Letter Queue can match this scene. otherwise the dispatcher logic in broker and limited by the receive queue will affect the delay result.
Getdelivery count does not cover all the use cases. We are pushing the logic to determine whether the delay has expired to the client(Implementing this in all the client languages will be repetitive & some language clients may not even get this feature implemented). If the broker sends the message to the client after the expiry of the delay then it would be simple and straightforward to remember.
Activity
codelipenghui commentedon Aug 21, 2018
Is any idea to implement this feature? I'm interest to join the discussion of design and contribute for this feature.
skyrocknroll commentedon Aug 24, 2018
This is an excellent feature we heavily depend on the current messaging system.
pmwqld commentedon Oct 23, 2018
We would like to use such a feature to implement an AUTO Dead Letter Queue (DLQ). Any messages that cannot be processed from the main topic can be sent to the AUTO DLQ topic and only become "visible" after a particular time depending on the retry and backoff algorithm.
codelipenghui commentedon Oct 23, 2018
@pmwqld
I think if all messages with the same delay time in the topic, use Dead Letter Queue can match this scene. otherwise the dispatcher logic in broker and limited by the receive queue will affect the delay result.
codelipenghui commentedon Nov 21, 2018
Delayed message redelivery solution based on expose redelivery count to client. #3030
Ah39 commentedon Nov 21, 2018
mark ,the feature have finished ??
codelipenghui commentedon Nov 21, 2018
@Ah39 PR #3033
sijie commentedon Nov 21, 2018
@Ah39 it is not completed yet. there is an ongoing PIP for it.
skyrocknroll commentedon Nov 22, 2018
Getdelivery count does not cover all the use cases. We are pushing the logic to determine whether the delay has expired to the client(Implementing this in all the client languages will be repetitive & some language clients may not even get this feature implemented). If the broker sends the message to the client after the expiry of the delay then it would be simple and straightforward to remember.
skyrocknroll commentedon Nov 22, 2018
@sijie is there any link to the PIP definition to share?
sijie commentedon Nov 22, 2018
@skyrocknroll : https://lists.apache.org/thread.html/977a8042581819769809f298bd2a2e9fd6b78598792c98069eb691e5@%3Cdev.pulsar.apache.org%3E this is the discussion thread.
sijie commentedon Nov 22, 2018
PIP-26: https://github.com/apache/pulsar/wiki/PIP-26:-Delayed-Message-Delivery