【问题标题】:NServiceBus Distributor Worker creates a new worker queueNServiceBus Distributor Worker 创建一个新的工作队列
【发布时间】:2013-08-26 21:18:32
【问题描述】:

我正在使用 Distributor/Worker,但是当我重新启动应用程序时,它每次都会创建一个具有唯一 ID 的新 Worker 队列。

任何线索?以及了解更多关于分销商/工人及其配置的最佳地点。

【问题讨论】:

    标签: nservicebus-distributor nservicebus4


    【解决方案1】:

    当您启动端点时,您会看到一条警告记录,其中解释了原因。

    2013-08-26 18:56:48,473 [1] WARN  NServiceBus.ConfigureDistributor [(null)] <(nu
    ll)> - 'MasterNodeConfig.Node' points to a local host name: [localhost]. Worker
    input address name is [Orders.Handler.810aa1ea-7eb4-47b3-b639-724c4498a999@SELEN
    E]. It is randomly and uniquely generated to allow multiple workers working from
    the same machine as the Distributor. 
    

    这里有一些关于分销商的文档以及对 Scale out 示例的说明。

    http://particular.net/articles/load-balancing-with-the-distributor

    http://particular.net/articles/scale-out-sample.

    查看动手实验室(中级实验室),它还将引导您完成 Scale out 实验室。横向扩展实验室将向您展示如何通过保持代码相同并仅更改配置来将您的工作人员部署到不同的机器上。 http://particular.net/HandsOnLabs

    希望这会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-31
      • 2014-12-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多