ronnieLi opened a new issue, #6536:
URL: https://github.com/apache/rocketmq/issues/6536
version:5.1
DefaultMQProducerImpl constructor asynchronous blocking parameter
exception,The semaphoreAsyncSendSize parameter was mistakenly used as
getBackPressureForAsyncSendNum,
this is error code :
if (defaultMQProducer.getBackPressureForAsyncSendNum() > 1024 * 1024) {
semaphoreAsyncSendSize = new
Semaphore(Math.max(defaultMQProducer.getBackPressureForAsyncSendNum(),1024 *
1024), true);
} else {
semaphoreAsyncSendSize = new Semaphore(1024 * 1024, true);
log.info("semaphoreAsyncSendSize can not be smaller than 1M.");
}
--
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]