moleculer
moleculer copied to clipboard
Can the dependencies in service.js and the waitForServices function support the ability to pass in a nodeID when passing in the serviceName?
dependencies: [
{ name: "comments", version: 2, nodeID: 'primary' }
]
@baozhoutao This is not possible now. Please submit a PR for this function with check nodeID parameter.
@baozhoutao What is the use-case for this?
这样做的用例是什么? Thanks Reply. During cluster deployment, Service B requires a dependency on the local instance of Service A.