dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Add Affinity Router

Open wcy666103 opened this issue 1 year ago • 0 comments

What is the purpose of the change?

Add affinity router rule v3.1 refer here https://github.com/apache/dubbo/issues/14455

Brief changelog

dubbo/config/group/{$name}.affinity-router

configVersion: v3.1
scope: service # Or application
key: service.apache.com
enabled: true
runtime: true
affinityAware:
  key: region
  ratio: 20

Checklist

  • [x] Make sure there is a GitHub_issue field for the change.
  • [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [x] Write necessary unit-test to verify your logic correction. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • [x] Make sure gitHub actions can pass. Why the workflow is failing and how to fix it?

wcy666103 avatar Oct 17 '24 05:10 wcy666103