Hi,
Been trying to register multiple instances of an application all deployed on the same host. However, Eureka is defaulting to using the hostname as the instance ID, ignoring my implementation of the UniqueIdentifier to generate my own instance id. Hence, overriding previous instance registrations. So, only one instance is registered per host.
The discovery client is initialized like this
DiscoveryManager.getInstance().initComponent(
new MyDataCenterInstanceConfig("eureka.", new MyDataCenterInfo()),
new DefaultEurekaClientConfig()
);
Is there something I'm missing?