These are chat archives for petabridge/akka-bootcamp

May 2017
May 19 2017 19:35
I've got a prototype app that has a singleton which is using DistributedPubSub to publish to a topic. I also have a consumer who is subscribed to the topic. All works fine with regards to receiving the published messages. If I take down the active singleton and the inactive singleton takes over, it will republish its data to the topic after is receives the MemberUp cluster event for itself. I'm finding that the subscribed clients do not get this initial publish. They will get publishes that happen later on however. Is there an event or something I can wait for that will tell me when I can publish that initial set after taking over?