Acking retrieved messages from mailbox #236
Labels
A-routing
Area: Message routing internals
C-feature-compat
Category: Feature Compatibility
C-feature-request
Category: Feature Request
Is your feature request related to a problem? Please describe.
For the autoscaling feature (PR #202) would be great to have an ack mechanism for the processed message, that could help eliminate an issues around dropping actors that took the message but the executed future in the pending state.
Describe the solution you'd like
For any message, whatever its type and method that was used for getting a message from the queue, we always have to acknowledge (let's call just it as the
ack
call) the processed message or to skip it.Benefits of the usage:
Exactly-Once
guaranteesPossible ways to implement it:
ack
/acknowledge
method for confirming that the message was processed and can be removed from the mailbox.message_processed
method for theBastionContext
struct, that can be called inside of the actor's futureDescribe alternatives you've considered
N/A
The text was updated successfully, but these errors were encountered: