All of this data is merged together into the property for the running .
If you need to access the metadata for your application instance you can use the interface EmbeddedServerInstance, and call getMetadata()
which will get a map of all of the metadata.
The Netflix Ribbon client side load balancer can be configured to use the metadata to do zone aware client side load balancing. See |
To obtain metadata for a service via Service Discovery use the interface to resolve a LoadBalancer and obtain a reference to a service by identifier:
Obtaining Metadata for a Service instance
To obtain metadata for the locally running server use an for the ServiceReadyEvent:
Obtaining Metadata for a Local Server