Hi,
I'm using tcp for outgoing connection in akka streams.
Tcp().outgoingConnection(...)
if the target connection drops you can see something like this in debug logs
[DEBUG] [05/23/2017 14:08:41.968] [default-akka.actor.default-dispatcher-5]
[akka://default/system/IO-TCP/selectors/$a/0] Closing connection due to IO
error java.io.IOException: Broken pipe
How to configure a retry with a delay?
To reproduce, run something like
Source.repeat(1).via(Tcp.outgoingConnection("localhost",port)).to(Sink.
ignore).run()
nc -lkv port
and then kill netcat with CTRL + C and retry.
Thanks
--
>>>>>>>>>> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.