leno23 opened a new pull request, #3420: URL: https://github.com/apache/dubbo-go/pull/3420
## What - Add `AffinityAware` to static `RouterConfig` and preserve it through clone/compat conversion. - Implement `SetStaticConfig` for service and application affinity routers with scope filtering. - Add tests for static affinity routing, invalid configs, scope handling, and config cloning. ## Why Issue #3203 lists affinity static route configuration as a router follow-up. The router already supports dynamic affinity rules, but static config injection had no affinity fields or `SetStaticConfig` entry point. ## Validation - go test ./cluster/router/affinity ./global ./config - go test ./cluster/router/... - go test . - git diff --check Refs #3203 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
