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

124 Views Asked by At

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.

1

There are 1 best solutions below

0
Sean Farmar On BEST ANSWER

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