michaeljmarshall commented on issue #5881:
URL: https://github.com/apache/pulsar/issues/5881#issuecomment-1228054197

   @frejonb - I think it comes down to how we define which messages can be 
classified as "delivered". From the broker's perspective, I only consider a 
message as delivered when the client sends a protocol message indicating ack or 
nack. By only incrementing the redeliveryCount when a client sends a nack 
(`CommandRedeliverUnacknowledgedMessages`) protocol message, we ensure that an 
application sees a message at least `n` times before it gets sent to a DLQ. 
Otherwise, we're at risk of delivering fewer times than expected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to