akka-streams with akka-cluster
问题 My akka-streams learn-o-thon continues. I'd like to integrate my akka-streams application with akka-cluster and DistributedPubSubMediator. Adding support for Publish is fairly straight forward, but the Subscribe part I'm having trouble with. For reference, a subscriber is given as follows in the Typesafe sample: class ChatClient(name: String) extends Actor { val mediator = DistributedPubSub(context.system).mediator mediator ! Subscribe("some topic", self) def receive = { case ChatClient