I went through routing in akka cluster.
There are few akka routers available which are,
Do we have any message based router group ?
consider the below case
router = round-robin-group
routees.paths = [
“akka.tcp://ClusterSystem@127.0.0.1:3000/user/masterActor/w1”, # machine 1
“akka.tcp://ClusterSystem@127.0.0.75:3000/user/masterActor/w1”, # machine 2
“akka.tcp://ClusterSystem@127.0.28.132:3000/user/masterActor/w1”] # machine 3
Say if my message is “Type 1” then route the message to machine1 if it is “Type 2” then route it to machine 2 else machine 3
Do we have any router available in akka to satisfy the above case. If not can you please advice me to write a custom router to satisfy the above case.