OptionalderegisterRemoves this application instance from the backend.
The registration to remove
OptionalisM70c: reports whether the discovery backend is reachable right now, for the plugin's health indicator.
Optional: a provider with no meaningful liveness check omits it, and the
indicator then relies on the service's everResolved state. This answers a
fact (reachability), not a policy: the indicator owns the up/degraded/
down mapping.
true when the backend is reachable
OptionalregisterRegisters this application instance with the backend.
Present only on providers with a registration API (Consul).
What to advertise
Reads the current instance list for a service.
Logical service name
Every instance the backend reports, possibly empty
Subscribes to instance-list changes.
Push-based where the backend supports it, interval-polled where it does not. The listener always receives the full list.
Logical service name
Called with the full instance list on every change
Unsubscribe function that stops the underlying watch
A discovery backend.
The plugin's caching, balancing, and ejection all sit above this port, so a provider only has to answer "who is running this service" and, where its backend supports it, "tell me when that changes".
Since
0.2.0