Class ServiceInstanceMetadataCustomizer

java.lang.Object
org.apache.dubbo.registry.client.metadata.ServiceInstanceMetadataCustomizer
All Implemented Interfaces:
Comparable<Prioritized>, Prioritized, ServiceInstanceCustomizer

public class ServiceInstanceMetadataCustomizer extends Object implements ServiceInstanceCustomizer

Intercepting instance to load instance-level params from different sources before being registered into registry.

The sources can be one or both of the following:
  • os environment
  • vm options
So, finally, the keys left in order will be:
  • all keys specified by sources above
  • keys found in metadata info