简体   繁体   English

具有远程路由的Akka广播路由

[英]akka broadcast routing with remote routees

I want to build an java Akka cluster system. 我想建立一个Java Akka集群系统。

the master node is expected to distributed a task to its routees. 主节点应将任务分配给其路由。

the tasks will be performed on different nodes from the master node. 这些任务将在与主节点不同的节点上执行。

I am actually thinking of using the broadcast router. 我实际上是在考虑使用广播路由器。

with existing remote routees. 与现有的远程路由。

then will pass a remote reference of the routees to the broadcast router. 然后会将路由的远程引用传递到广播路由器。

my question is is it possible to pass existing remote router reference to a broadcast router. 我的问题是是否可以将现有的远程路由器参考传递给广播路由器。

I have checked the documentation and looks like you anly pass the number of routers to the broadcast router. 我已经检查了文档,看起来像您一样将路由器的数量传递给了广播路由器。

will be happy to hear of your suggestions. 会很高兴听到您的建议。

thank you all 谢谢你们

WIll be happy to any suggestions. 乐于接受任何建议。

thank all 谢谢大家

http://doc.akka.io/docs/akka/2.0.3/scala/routing.html#Routers_In_Action的docs中,示例显示了给定路由的使用,所有路由器类型都可以使用相同的路由。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM