Spring Service Discovery Restriction -
i followed page: https://spring.io/guides/gs/service-registration-and-discovery/
and far no problem. can register spring services automatically discovered.
i need discover services accessible on specific domain (to distinguish between test , prod, example)
this means i'll have 2 discovery services run. 1 should fetch services on mytestdomain.domain.ch, , other 1 on myproddomain.domain.ch.
anyone has idea how distinction ?
you should use different profiles define different eureka zone url test/prod environment. package/run app profile.
Comments
Post a Comment