Open gitzko opened 1 year ago
Please use this template for reporting suspected bugs or requests for help.
ZeroMQ seems to favor one IP over the other when DNS name returns two IPs. Like tcp://log_svc:20000 and
tcp://log_svc:20000
nslookup log_svc Server: 127.0.0.11 Address: 127.0.0.11#53 Non-authoritative answer: Name: log_svc Address: 192.168.6.54 Name: log_svc Address: 192.168.6.55
m_socket->send(msg, ZMQ_DONTWAIT);
The log messages arrive more often on one IP than the other
The log messages are evenly distributed between both IPs
Please use this template for reporting suspected bugs or requests for help.
Issue description
ZeroMQ seems to favor one IP over the other when DNS name returns two IPs. Like
tcp://log_svc:20000
andEnvironment
Minimal test code / Steps to reproduce the issue
m_socket->send(msg, ZMQ_DONTWAIT);
What's the actual result? (include assertion message & call stack if applicable)
The log messages arrive more often on one IP than the other
What's the expected result?
The log messages are evenly distributed between both IPs