Competing consumers and RETRY

26 views
Skip to first unread message

Robert Goheen

unread,
Apr 28, 2020, 8:54:01 AM4/28/20
to Event Store
Hello:

I was trying to find some information on the behaviour of event store when a competing consumer ACKs a message with RETRY.  With a little testing, it seems the event gets picked back up by another consumer pretty much immediately.  How is this message handled on the server in terms of it being re-queued?  And are there any settings around this behaviour, such as setting a delay so there is some time between one consumer failing to fully process the event and another consumer reading it in again?

Thanks!

Robert Goheen

Greg Young

unread,
Apr 28, 2020, 11:28:07 AM4/28/20
to event...@googlegroups.com
Hmm there is not as of now. This could be an *interesting* feature to add though and not horrific depending on implementation...

I see two major options here. 

The first would be "best effort retry after short period of time say up to minutes or hours". 
The second would be "assured retry after long period of time" say next Thursday. 

The first would be relatively easy to implement, the second much less so (and it can be implemented for your problem relatively easily today using parking!). The first I can likely have a pull request done this week for ... the second would likely require days to weeks of work (needs persistent scheduling as an example!).

Are you looking for a short-term best-effort retry-after or a  long-term assured retry-after?

Checkout Ltd, Company No. 08037323, 54 Portland Place,London, W1B 1DY, UK is authorised and regulated by the Financial Conduct Authority under the Electronic Money Regulations 2011 (reference number 900816) to issue electronic money and provide payment services.  

***************************************

This message is intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to us, immediately and permanently delete it, and do not use, copy or disclose the information contained in this message or in any attachment. Any unauthorized use is strictly prohibited.

***************************************

--
You received this message because you are subscribed to the Google Groups "Event Store" group.
To unsubscribe from this group and stop receiving emails from it, send an email to event-store...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/event-store/f017ff05-a813-4094-8428-dff071079f99%40googlegroups.com.


--
Studying for the Turing test
Reply all
Reply to author
Forward
0 new messages