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

任务的路由策略第一个和最后一个这个是按照什么顺序定义的 #3570

Open
songfazhun opened this issue Nov 12, 2024 · 2 comments

Comments

@songfazhun
Copy link

我想了解一下,在任务的路由策略中,第一个和最后一个是依据什么规则来确定顺序的?是根据注册时间,还是注册时的IP地址和端口号?又或者是其他什么?谢谢大佬.

@songfazhun
Copy link
Author

我启动几个实例看了一下,不是按照注册时间排序的,可能是按照端口号排序的,因为我的ip地址是一样的,所有无法区分是按照端口还是按照ip+端口

@cdknowz
Copy link

cdknowz commented Dec 5, 2024

作者对注册地址做了一次字符串排序

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