Why NServiceBus DistributorDataAddress has to be set on UnicastBusConfig in the WORKER node?

StackOverflow https://stackoverflow.com/questions/18855339

Вопрос

What is DistributorDataAddress? What is the use of it in WorkerNode????

In all of the Scaling examples I can see this being setup in Worker.

Это было полезно?

Решение

The 'DistributorDataAddress' in a worker's configuration is used by the worker as the return address of a messages sent by the worker's endpoint (so if other endpoints do Bus.Reply the message will return to the distributor endpoint and not directly to the worker endpoint )

Take a look here: http://particular.net/articles/load-balancing-with-the-distributor, look at 'Routing with the Distributor' part of the article

HTH

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top