These are chat archives for spring-cloud/spring-cloud

2nd
Jul 2015
Sergei Egorov
@bsideup
Jul 02 2015 12:29

Hi

Is it possible to use "namespaces" in Eureka? For instance I want to have 2 groups of servers : dev and prod, and I want eureka to return only dev instances when someone from dev zone is trying to lookup them

Dave Syer
@dsyer
Jul 02 2015 12:31
That's not really the way eureka works
It's a registry
You can register anything you want and include metadata to distinguish different groups of services
But the only way to look up a service is by ID (name)
It's up to the client to use the list in whatever way it likes
Usually the client would be a load balancer (like Ribbon) and hence you should write a load balancer that only selects services in your "group"
In Ribbon it's called a ServerListFilter
Sergei Egorov
@bsideup
Jul 02 2015 12:39
ok, thanks =)
I will look at it, didn't know about this filter
Ryan Baxter
@ryanjbaxter
Jul 02 2015 15:51
@dsyer any luck getting master to a working state yet?
Dave Syer
@dsyer
Jul 02 2015 15:53
Sorry. I keep having to do other stuff.
Tomorrow I promise
There was a Boot release yesterday
and 1.3.0.M2 is coming (was supposed to be this week)
Ryan Baxter
@ryanjbaxter
Jul 02 2015 15:56
np i understand :)
holiday here in the US tomorrow so no rush from my point of view
Dave Syer
@dsyer
Jul 02 2015 15:58
Understood