allegro / marathon-consul

Integrates Marathon apps with Consul service discovery.
Apache License 2.0
191 stars 33 forks source link

Local Agent used for service list reads (#276) #277

Closed chemicL closed 6 years ago

chemicL commented 6 years ago

If defined, the local consul agent is used to read list of services. Otherwise, a random agent is picked, but only from the cache of agents already syncing registrations. This change prevents situations, where contacting a random agent in the cluster fails, because it has no ACL-DC configured.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.2%) to 90.575% when pulling 004fd465ebc0be568c4387c7f78fe73d2f2b564b on 276-local-agent-reads into 3fb8781714a0c60cde389ebe7da998a76de56ab1 on master.