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

Can the dependencies in service.js and the waitForServices function support the ability to pass in a nodeID when passing in the serviceName? #1217

Open
baozhoutao opened this issue Jun 9, 2023 · 3 comments

Comments

@baozhoutao
Copy link

dependencies: [
{ name: "comments", version: 2,  nodeID: 'primary' }
]
@intech
Copy link
Member

intech commented Jun 10, 2023

@baozhoutao This is not possible now. Please submit a PR for this function with check nodeID parameter.

@icebob
Copy link
Member

icebob commented Jun 11, 2023

@baozhoutao What is the use-case for this?

@baozhoutao
Copy link
Author

这样做的用例是什么?
Thanks Reply.
During cluster deployment, Service B requires a dependency on the local instance of Service A.

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