Consul is the last startup dependency. Here's the pattern of what we should do when instructed to configure from consul:
Try to register with Consul. If we succeed, continue configuration and retrieve values
If we fail to register, we should
a. open the ZMQ socket,
b. serve only failure responses
c. schedule recurring attempts to configure on a background thread.
Consul is the last startup dependency. Here's the pattern of what we should do when instructed to configure from consul: