eventmesh
eventmesh copied to clipboard
[Bug]Registry nacos plugin implementation according to cluster query information bugs
Search before asking
- [X] I had searched in the issues and found no similar issues.
Environment
Windows
EventMesh version
master
What happened
The relevant code is as follows:
//method: findEventMeshInfoByCluster List<Instance> instances = namingService.selectInstances(eventMeshName + "-" + key, configuration.eventMeshCluster, Collections.singletonList(clusterName), true);//Notice the second parameter here
//method register namingService.registerInstance(eventMeshName, eventMeshRegisterInfo.getProtocolType() + "-" + NacosConstant.GROUP, instance); //Notice the second parameter here
No information can be queried by cluster
How to reproduce
The relevant code is as follows:
//method: findEventMeshInfoByCluster List<Instance> instances = namingService.selectInstances(eventMeshName + "-" + key, configuration.eventMeshCluster, Collections.singletonList(clusterName), true);//Notice the second parameter here
//method register namingService.registerInstance(eventMeshName, eventMeshRegisterInfo.getProtocolType() + "-" + NacosConstant.GROUP, instance); //Notice the second parameter here
No information can be queried by cluster
Debug logs
No response
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
So, the bug is:
- registry instance
- get instance immediately
- can not get instance It's right or not? @qiaofazhan
您好,邮件已收到,尽快给您回复。

@qiaofazhan @huyuanxin Hi~May I ask that has this issue been resolved in the current version?
您好,邮件已收到,尽快给您回复。
It has been 90 days since the last activity on this issue. Apache EventMesh values the voices of the community. Please don't hesitate to share your latest insights on this matter at any time, as the community is more than willing to engage in discussions regarding the development and optimization directions of this feature.
If you feel that your issue has been resolved, please feel free to close it. Should you have any additional information to share, you are welcome to reopen this issue.
您好,邮件已收到,尽快给您回复。