Hi enrico,

The delayed message feature is to support messages that can have any delay in a 
single partition.
So, if the broker dispatches the messages based on the available time of the 
message, this will break the FIFO order.

So, if I understand correctly, "the behaviour of delayed messages even
for Exclusive subscriptions, still preserving a strict FIFO order” means 
messages of a partition has same delay time?
If so, I think we can achieve this at the client-side(Just check the head 
message is available or not)

Thanks,
Penghui
On Apr 19, 2021, 8:00 PM +0800, Enrico Olivelli <eolive...@gmail.com>, wrote:
> Hi,
> I came across this great feature, Delayed Messages
> https://github.com/apache/pulsar/wiki/PIP-26:-Delayed-Message-Delivery
>
> And I see that this feature does not work with Exclusive and Failover
> subscriptions.
> The reason explained in the PIP is that this is because we want to
> guarantee FIFO order.
>
> I wonder if we could implement the behaviour of delayed messages even
> for Exclusive subscriptions, still preserving a strict FIFO order.
>
> Enrico

Reply via email to