Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add application group to instance info #99

Closed
NiteshKant opened this issue Apr 15, 2014 · 3 comments
Closed

Add application group to instance info #99

NiteshKant opened this issue Apr 15, 2014 · 3 comments

Comments

@NiteshKant
Copy link
Contributor

Inside netflix we wish to add a grouping criteria for different application under an umbrella. For this purpose eureka needs to publish the application group which then can be used by other clients to do any logic based on the application group.

The application group can be specified via a property "namespace" + "appGroup" where namespace by default is "eureka." and hence the property eureka.appGroup can be used to specify the application group. Alternatively, in absence of this property, eureka will also look at a java environment property "NETFLIX_APP_GROUP" to infer the application group. The requirement of this environment property is purely due to internal requirements.

NiteshKant pushed a commit to NiteshKant/eureka that referenced this issue Apr 15, 2014
1) Implementing clean shutdown of client. Moved away from Timer to ScheduledExecutorService as it gives better control of shutdown by interrupting the running thread, which is what we want.
 2)
NiteshKant added a commit that referenced this issue Apr 15, 2014
@NiteshKant
Copy link
Contributor Author

Available in release 1.1.128

@zhangdc007
Copy link

is the application group just a label to tell apart application ? or the different application group can not find other if they has not permission ?
My requirement is apps in different group and regist in a eureka ,for example ,group A and B,if A has permission to B,then apps in group A can get address in app Group B,so A can invoke B' api,if not ,A has no B's app's address,and can not invoke.

@spurtAndy
Copy link

@zhangdc007 你解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants