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

why not support the exportTo annotation, to make services can be discover across namespaces #1191

Closed
andrewshan opened this issue Aug 1, 2023 · 0 comments · Fixed by #1304
Labels
enhancement New feature or request

Comments

@andrewshan
Copy link
Member

What is the feature you want to add?
support service discovery can across namespaces, ex, one can discover some common services not in same namespaces.

Why do you want to add this feature?
Many service rpc framework has the namespace isolated features, services in one namespace cannot directly invoke the services in other namespaces. But for some common services, such as storage, cache, gateway services, need to be invoked by services in different namespaces. So we need some mechanism to make user can do it fluently.

How to implement this feature?
services, namespaces can add the exportTo annotation, exportTo="*" make it can be discovered by all namespaces, exportTo="targetNamespace" make it can be discovered by the specific namespacce.

Additional context
Add any other context or screenshots about the feature request here.

@andrewshan andrewshan added the enhancement New feature or request label Aug 1, 2023
@chuntaojun chuntaojun linked a pull request Dec 19, 2023 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants