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

3.x相较于2.x版本是将服务发现时的依据版本号过滤的能力去除了吗? #4672

Open
yanghao605 opened this issue Jan 8, 2025 · 1 comment

Comments

@yanghao605
Copy link
Contributor

如题,原先2.x的RegistryUtils提供了findServiceInstance(String appId, String serviceName,String versionRule) 方法实现对服务端实例按照版本规则过滤的方法,
但是在3.x上没有看到这种的获取方法
请问在3.x上应该如何按照版本号过滤?

@liubao68
Copy link
Contributor

liubao68 commented Jan 8, 2025

3.x不再提供version-rule的管理(为了支持多种注册中心)。 你的场景可以查询到实例列表后,自行处理。

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

No branches or pull requests

2 participants