Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Akka and ack-ing messages after successful processing
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Drew Kutcharian  
View profile  
 More options Oct 30 2012, 12:09 pm
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:

> Hi Drew!

> On Tue, Oct 30, 2012 at 3:43 AM, Drew Kutcharian <d...@venarc.com> wrote:
> Hi Guys,

> 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 = {
>    case message =>
>       doWork(message)
>       sender ! message.acknowledgement()
> }

> Hope that helps!

> Cheers,
> √

> Thanks,

> Drew

> --
> >>>>>>>>>>      Read the docs: http://akka.io/docs/
> >>>>>>>>>>      Check the FAQ: http://akka.io/faq/
> >>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups "Akka User List" group.
> To post to this group, send email to akka-user@googlegroups.com.
> To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user?hl=en.

> --
> Viktor Klang

> Akka Tech Lead
> Typesafe - The software stack for applications that scale

> Twitter: @viktorklang

> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups "Akka User List" group.
> To post to this group, send email to akka-user@googlegroups.com.
> To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user?hl=en.


 
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.