superfly / corrosion

Gossip-based service discovery (and more) for large distributed systems.
https://superfly.github.io/corrosion/
Apache License 2.0
718 stars 22 forks source link

corro-client: support fallback address pools #219

Closed pborzenkov closed 5 months ago

pborzenkov commented 5 months ago

The first provided pool is the main one and the client tries to stick with it. Only in none of the addreses from the first pool respond, the client falls back to the other pools.

Also add some tests to verify the behavior.