aio-libs / aiozmq

Asyncio (pep 3156) integration with ZeroMQ
aiozmq.readthedocs.org
BSD 2-Clause "Simplified" License
422 stars 56 forks source link

RPC calls to multiple services with round robin DNS lookup #66

Open lyschoening opened 8 years ago

lyschoening commented 8 years ago

When I do something like await rpc.connect_rpc(connect='tcp://rpc-service:5555'), where "rpc-service" is a round robin A record with multiple addresses, can I expect the client to choose a different address every time it is initialized?

From experimentation it seems that this is not the case, but I might be doing something wrong.