feat(lb): deterministic subsetting algorithm#1289
feat(lb): deterministic subsetting algorithm#1289OlgaMaciaszek merged 12 commits intospring-cloud:mainfrom jizhuozhi:main
Conversation
|
Hello @OlgaMaciaszek , PTAL |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
OlgaMaciaszek
left a comment
There was a problem hiding this comment.
Hello @jizhuozhi, thanks for submitting the PR. I have done an initial review after looking at the class structure. I have added some comments - please address. Also, please add documentation. I will take a look at the actual algorithm implementation and tests tomorrow and provide a second review then.
OlgaMaciaszek
left a comment
There was a problem hiding this comment.
Have added some comments. Please address. Please also add corresponding ServiceInstanceListSupplierBuilder methods and configurations property-based instantiation in LoadBalancerClientConfiguration.
OlgaMaciaszek
left a comment
There was a problem hiding this comment.
Have added some comments - please address them.
| super(delegate); | ||
| LoadBalancerProperties properties = factory.getProperties(getServiceId()); | ||
| String instanceId = properties.getSubset().getInstanceId(); | ||
| if (StringUtils.hasText(instanceId)) { |
There was a problem hiding this comment.
Please document this entire logic.
|
Hi @jizhuozhi, will you be able to finish this PR up soon? I'd like to get this feature included in |
OlgaMaciaszek
left a comment
There was a problem hiding this comment.
Thanks @jizhuozhi, now only documentation, including this: #1289 (comment), is left. Please add corresponding changes in docs/modules/ROOT/pages/spring-cloud-commons/loadbalancer.adoc.
Hello, @OlgaMaciaszek . The document has been updated, PTAL |
OlgaMaciaszek
left a comment
There was a problem hiding this comment.
Thanks for working on it, @jizhuozhi. LGTM.
|
Hi @Buzzardo, could you please review documentation changes? |
|
Fixes gh-1288. |
gh-1288