rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Feature] support ratelimit for topic or client ip

Open yuz10 opened this issue 1 year ago • 2 comments

Is Your Feature Request Related to a Problem?

Add ratelimit for a special topic or client ip. mainly for the following reasons:

  1. some topics or clients use too much tps, that will affect other topics or clients.
  2. when a consumer read code data, the pagecache is polluted, and will affect read hot data.
  3. when a consumer read too fast, the downstream services may be unstable.

Describe the Solution You'd Like

add ratelimit support for topic or client ip, which is dynamic configured in broker.

Describe Alternatives You've Considered

not yet

Additional Context

No response

yuz10 avatar May 20 '24 17:05 yuz10

Is this rate limiting feature only effective for consumers?

dingshuangxi888 avatar May 23 '24 12:05 dingshuangxi888

Producers are also effective , when creating a ratelimit rule, consume tps and produce tps can be specified seperately

yuz10 avatar May 23 '24 13:05 yuz10

This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] avatar May 24 '25 00:05 github-actions[bot]

This issue was closed because it has been inactive for 3 days since being marked as stale.

github-actions[bot] avatar May 27 '25 00:05 github-actions[bot]