mandeep gandhi
2018-11-05 09:40:20 UTC
Hi all,
My use case is that I want to make external calls from an actor( on
receiving a type of message). If the HTTP call fails, I want to retry
exponentially. My current code uses scalaj.http to HTTP calls.
How to achieve it?
Can Akka's Backoff supervisor strategy be used for the same (or is it an
anti-pattern)?
Thanks,
Mandeep Gandhi
--
*****************************************************************************************************
** 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
*****************************************************************************************************
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+***@googlegroups.com.
To post to this group, send email to akka-***@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
My use case is that I want to make external calls from an actor( on
receiving a type of message). If the HTTP call fails, I want to retry
exponentially. My current code uses scalaj.http to HTTP calls.
How to achieve it?
Can Akka's Backoff supervisor strategy be used for the same (or is it an
anti-pattern)?
Thanks,
Mandeep Gandhi
--
*****************************************************************************************************
** 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
---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+***@googlegroups.com.
To post to this group, send email to akka-***@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.