lingyufei opened a new issue, #15677:
URL: https://github.com/apache/dubbo/issues/15677

   ### Pre-check
   
   - [x] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache Dubbo Component
   
   Java SDK (apache/dubbo)
   
   ### Dubbo Version
   
   3.3
   
   ### Steps to reproduce this issue
   
   Configure `tps` on different mthods in one service.
   
   ### What you expected to happen
   
   Although I can now configure `tps` on a method level, the `stats` map in 
`DefaultTPSLimiter` is still using `serviceKey` as the key. So the method level 
TPS doesn't work. Like if I configure different `tps` numbers on different 
methods. It doesn't work. 
   
   I check the related issue 
[9159](https://github.com/apache/dubbo/pull/9159/files). It just fetch the tps 
params from method configuration, but the `DefaultTPSLimiter` doesn't actually 
support per method level TPS.
   
   ### Anything else
   
   No
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [x] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: notifications-unsubscr...@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to