Re: [akka-user][deprecated] How to recover Message if akka actor goes down for some reason?
Trying to collect dropped/lost messages via dead letters will not work reliably. For example it can be lost when sending from one node to another if there is a network problem at the same time. The only way to know that it arrived is to send acknowledgment message back, and if no acknowledgement arrives within some timeout you have to retry. /Patrik ons 27 mars 2019 kl. 04:09 skrev Bishnu Shankar Pandey < bishnu.pan...@flutura.com>: > Can you give me an example to handle the messagea?? > > On Tue, 26 Mar, 2019, 23:34 Brian Maso, wrote: > >> I suggest looking up "dead letters" (and maybe also "unhandled >> messages"). What you are describing is a dead letter message, and there is >> a specific mechanism for routing and handling them in Akka. >> >> Best regards, >> Brian Maso >> >> On Tue, Mar 26, 2019 at 3:46 AM Bishnu Shankar Pandey < >> bishnu.pan...@flutura.com> wrote: >> >>> I want to solve two scenarios : >>> >>> 1. I have a sender Actor and a Receiver Actor how will the sender actor >>> know that the receiver actor is not responding. Terminated case can be used >>> to get a notification but what is the latency or the response time of the >>> *Terminated >>> message*. I can't miss even a single message. >>> 2. How can I recover the messages that are currently in the mailbox of >>> the terminated actor? >>> >>> -- >>> >>> * >>> ** New discussion forum: https://discuss.akka.io/ replacing akka-user >>> google-group soon. >>> ** This group will soon be put into read-only mode, and replaced by >>> discuss.akka.io >>> ** More details: >>> https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced >>> >>> * >>> >> >>> >> Read the docs: http://akka.io/docs/ >>> >> Check the FAQ: >>> http://doc.akka.io/docs/akka/current/additional/faq.html >>> >> 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 unsubscribe from this group and stop receiving emails from it, send >>> an email to akka-user+unsubscr...@googlegroups.com. >>> To post to this group, send email to akka-user@googlegroups.com. >>> Visit this group at https://groups.google.com/group/akka-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> >> * >> ** New discussion forum: https://discuss.akka.io/ replacing akka-user >> google-group soon. >> ** This group will soon be put into read-only mode, and replaced by >> discuss.akka.io >> ** More details: >> https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced >> >> * >> >> >> >> Read the docs: http://akka.io/docs/ >> >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >> 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 unsubscribe from this group and stop receiving emails from it, send an >> email to akka-user+unsubscr...@googlegroups.com. >> To post to this group, send email to akka-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > -- > > * > ** New discussion forum: https://discuss.akka.io/ replacing akka-user > google-group soon. > ** This group will soon be put into read-only mode, and replaced by > discuss.akka.io > ** More details: > https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced > > * > >> > >> Read the docs: http://akka.io/docs/ > >> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >> 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 unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- * ** New discussion forum: https://discuss.akka.io/ replacing
Re: [akka-user][deprecated] How to recover Message if akka actor goes down for some reason?
Can you give me an example to handle the messagea?? On Tue, 26 Mar, 2019, 23:34 Brian Maso, wrote: > I suggest looking up "dead letters" (and maybe also "unhandled messages"). > What you are describing is a dead letter message, and there is a specific > mechanism for routing and handling them in Akka. > > Best regards, > Brian Maso > > On Tue, Mar 26, 2019 at 3:46 AM Bishnu Shankar Pandey < > bishnu.pan...@flutura.com> wrote: > >> I want to solve two scenarios : >> >> 1. I have a sender Actor and a Receiver Actor how will the sender actor >> know that the receiver actor is not responding. Terminated case can be used >> to get a notification but what is the latency or the response time of the >> *Terminated >> message*. I can't miss even a single message. >> 2. How can I recover the messages that are currently in the mailbox of >> the terminated actor? >> >> -- >> >> * >> ** New discussion forum: https://discuss.akka.io/ replacing akka-user >> google-group soon. >> ** This group will soon be put into read-only mode, and replaced by >> discuss.akka.io >> ** More details: >> https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced >> >> * >> >> >> >> Read the docs: http://akka.io/docs/ >> >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >> 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 unsubscribe from this group and stop receiving emails from it, send an >> email to akka-user+unsubscr...@googlegroups.com. >> To post to this group, send email to akka-user@googlegroups.com. >> Visit this group at https://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > -- > > * > ** New discussion forum: https://discuss.akka.io/ replacing akka-user > google-group soon. > ** This group will soon be put into read-only mode, and replaced by > discuss.akka.io > ** More details: > https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced > > * > >> > >> Read the docs: http://akka.io/docs/ > >> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >> 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 unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- * ** New discussion forum: https://discuss.akka.io/ replacing akka-user google-group soon. ** This group will soon be put into read-only mode, and replaced by discuss.akka.io ** More details: https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced * >> >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> 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 unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
Re: [akka-user][deprecated] How to recover Message if akka actor goes down for some reason?
I suggest looking up "dead letters" (and maybe also "unhandled messages"). What you are describing is a dead letter message, and there is a specific mechanism for routing and handling them in Akka. Best regards, Brian Maso On Tue, Mar 26, 2019 at 3:46 AM Bishnu Shankar Pandey < bishnu.pan...@flutura.com> wrote: > I want to solve two scenarios : > > 1. I have a sender Actor and a Receiver Actor how will the sender actor > know that the receiver actor is not responding. Terminated case can be used > to get a notification but what is the latency or the response time of the > *Terminated > message*. I can't miss even a single message. > 2. How can I recover the messages that are currently in the mailbox of > the terminated actor? > > -- > > * > ** New discussion forum: https://discuss.akka.io/ replacing akka-user > google-group soon. > ** This group will soon be put into read-only mode, and replaced by > discuss.akka.io > ** More details: > https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced > > * > >> > >> Read the docs: http://akka.io/docs/ > >> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >> 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 unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- * ** New discussion forum: https://discuss.akka.io/ replacing akka-user google-group soon. ** This group will soon be put into read-only mode, and replaced by discuss.akka.io ** More details: https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced * >> >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> 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 unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
[akka-user][deprecated] How to recover Message if akka actor goes down for some reason?
I want to solve two scenarios : 1. I have a sender Actor and a Receiver Actor how will the sender actor know that the receiver actor is not responding. Terminated case can be used to get a notification but what is the latency or the response time of the *Terminated message*. I can't miss even a single message. 2. How can I recover the messages that are currently in the mailbox of the terminated actor? -- * ** New discussion forum: https://discuss.akka.io/ replacing akka-user google-group soon. ** This group will soon be put into read-only mode, and replaced by discuss.akka.io ** More details: https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced * >> >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> 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 unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.