How to Handle Multiple Instances Receiving Messages
JavaScript-zt opened this issue · 1 comments
JavaScript-zt commented
在集群部署时2套一样的程序如何配置,看文档说是配置不同的group就可以了,同一套代码如何配置不同的group,group参数必须是常量,也没办法通过读取当前机器标识生成
yang-xiaodong commented
You can use DefaultGroupName
option to configure it globally.
x.DefaultGroupName = Helper.GetInstanceHostname();