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.