enmasse icon indicating copy to clipboard operation
enmasse copied to clipboard

Support consumer delivery timeout for brokers

Open lulf opened this issue 5 years ago • 3 comments

Overview

At present, consumers consuming from a queue that do not acknowledge messages can cause messages to be held up in the broker until the consumer detaches. For some use cases, it could be desirable to timing out the consumer sent so that it can be sent to a different consumer.

This would require a change in Artemis in order to be implemented.

lulf avatar Mar 25 '20 11:03 lulf

I assume you are thinking the use of Modified delivery state to implement timed acquision. This would need client work too.

k-wall avatar Mar 25 '20 19:03 k-wall

@k-wall I was mainly looking for a pure server side solution to this problem because we can't control all the clients.

lulf avatar Mar 25 '20 20:03 lulf

@lulf the protocol allows you to know the delivery states your partner supports. I think it would be feasible for a broker enhancement to use the delivery state if available (which ultimately helps prevents dups). If the partner didn't support it then the broker could have a mode where it removes the acquision without the notification to the consumer.

k-wall avatar Mar 26 '20 09:03 k-wall