Hi,
I have an application (based on Play 2/akka) using akka-stream to stream data from one service (e.g. Twitter) to another. The application is stateless, so I plan to have two instances of the app running with a load balancer in the front to scale it out as well as have redundancy. Everything works well except in this case, two streams are created, 1 per app, and this duplicates the data being sent to the sink.
I read the documentation as well as some threads here, that akka-stream at the moment does not support remote actors, so I cannot leverage akka-cluster's singleton actor. Are there any workaround or other approach I can have two apps running but only 1 stream running (or 2 streams but only 1 active)? Preferably, if one stream or the app dies, the other app can start a new stream and keep going.
Thanks
Patrick