rocketmq-clients
rocketmq-clients copied to clipboard
[Bug] avoid sdk oom risk
Before Creating the Bug Report
-
[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.
-
[X] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
-
[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Programming Language of the Client
Java
Runtime Platform Environment
all
RocketMQ Version of the Client/Server
sdk
Run or Compiler Version
no
Describe the Bug
In some scenarios, if the SDK continuously submits tasks but process slowly, it can lead to OOM (Out of Memory). By using a bounded queue, a backpressure-like effect is achieved to avoid OOM (Out of Memory).****
Steps to Reproduce
no
What Did You Expect to See?
no
What Did You See Instead?
no
Additional Context
no