domainOverride means different things for Eureka and Consul #267
-
We have This is confusing at best. What do we actually need in terms of the domain override, assuming we even need it anymore? And if we do need it, how should it work in both Eureka and Consul? Or, do we need it in Eureka but not Consul, or vice-versa? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It turns out we do need the When this library was first implemented, we mistakenly added the domain override functionality to the Consul registration, and gave it a completely different behavior. I don't remember why we decided to do this, since this functionality is not needed at all for Consul. So, all related |
Beta Was this translation helpful? Give feedback.
It turns out we do need the
domainOverride
for Eureka in the way it is implemented, i.e. to change the domain of the Eureka servers, for historical reasons. Specifically, this need was caused by some rather exotic network configuration in a few special cases, in which some very custom services had to use a different domain. As we transition services from legacy hardware to "the cloud", this won't be needed anymore, and plus we're migrating away from Eureka and to Consul.When this library was first implemented, we mistakenly added the domain override functionality to the Consul registration, and gave it a completely different behavior. I don't remember why we decided to do this, since thi…