How is LoadBalancerClientFactory.PROPERTY_NAME set?

210 views Asked by At

I'm trying to develop a custom DiscoveryClient but when it uses lb:// it doesn't work correctly. I have instatiated a DiscoveryClientServiceInstanceListSupplier using @Import(LoadBalancerClientConfiguration.class) in the application class.

Looking through the code there is notion of

this.serviceId = environment.getProperty(PROPERTY_NAME);

but whenver I debug it, I get null for that value.

0

There are 0 answers