Hello, I’m trying to use cluster sharding with proxy only mode.
I would like to run 2 node. One is only proxy mode without any entity and another for only entity.
I added below config
// for proxy only mode
akka.cluster {
roles = ["frontend", "backend"]
sharding = {
role = "frontend"
}
}
// for entity
akka.cluster {
roles = ["frontend", "backend"]
sharding = {
role = "backend"
}
}
I used ClusterSharding.get(actorSystem).startProxy in ‘frontend’ node,
and ClusterSharding.get(actorSystem).start in ‘backend’ node.
When ‘frontend’ node tell message to ‘backend’, below log is printed infinitely.
level=WARN , logger=akka.cluster.sharding.ShardRegion, message=MyActor: Trying to register to coordinator at [ActorSelection[Anchor(akka://myapp@ip:port/), Path(/system/sharding/MyActorCoordinator/singleton/coordinator)]], but no acknowledgement. Total [1] buffered messages. [Coordinator [Member(address = akka://myapp@ip:port, status = Up)] is reachable.]
Do I need to add more config for using proxy only mode? Is there any detail reference about it?