Hi,
Cluster.selfAddress will give you the address of the actor system, and then
you can compare it to Member.address
--
Johan
Akka Team
On Mon, Nov 7, 2016 at 6:18 AM, Unknown Unknown wrote:
> There is the following actor which belongs to cluster and is subscribed to
>
There is the following actor which belongs to cluster and is subscribed to
cluster events:
class Worker extends Actor {
val cluster = Cluster(context.system)
var router = Router(BroadcastRoutingLogic(), Vector.empty[
ActorRefRoutee])
override def preStart(): Unit =