From: Drew Kutcharian <d...@venarc.com>
Date: Tue, 30 Oct 2012 09:08:57 -0700
Local: Tues, Oct 30 2012 12:08 pm
Subject: Re: [akka-user] Akka and ack-ing messages after successful processing
Would this guarantee at-least-once handling of the messages? And I guess I would need to somehow keep track of all these messages on the producer right? Wouldn't ask be a better approach?
On Oct 30, 2012, at 2:47 AM, √iktor Ҡlang <viktor.kl...@gmail.com> wrote:
> On Tue, Oct 30, 2012 at 3:43 AM, Drew Kutcharian <d...@venarc.com> wrote:
> I wanted to see what would the best approach to processing messages where I would need to ACK messages after they have successfully been processed. In case of a failure, I should not ACK the message.
> Basically I have a single producer that produces messages sequentially and a bunch of consumer actors that are consuming these messages. The producer needs to know that a message was processed successfully so it can ACK it, otherwise it has to send the message to a different actor.
> def receive = {
> Hope that helps!
> Cheers,
> Thanks,
> Drew
> --
> -- > Akka Tech Lead
> Twitter: @viktorklang
> -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||