[ISSUE#502] batch message support#526
Conversation
|
@aaron-ai @francisoliverlee Can you help me start ci? |
OK |
RongtongJin
left a comment
There was a problem hiding this comment.
Hi @complone , Could you add a sample to show how to use it ?
In the unit test, |
|
consumeBatchSize parameter needs to be added, otherwise batch consumption will not take effect, and there will still be one item at a time |
| * The consumeMessageBatchMaxSize of consumer. | ||
| * @return | ||
| */ | ||
| int consumeMessageBatchMaxSize() default 0; |
There was a problem hiding this comment.
why consumeMessageBatchMaxSize default is zero and delayLevelWhenNextConsume default is 1024 ?
|
When will it be released ? |
RockteMQ-AI
left a comment
There was a problem hiding this comment.
Review: Approved ✅
PR: #526 — [ISSUE#502] Batch message support
Type: Enhancement (5 files, +346/-30)
Assessment
Adds batch message consumption support with RocketMQBatchListener interface and @RocketMQMessageListener(batchConsume=true) option. Includes comprehensive test coverage.
Verdict
✅ Well-designed batch consumption feature with proper configuration and testing.
🤖 Automated review by oss-sentinel-ai
What is the purpose of the change
related to issues-502
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice,
it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.[ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyleto make sure basic checks pass. Runmvn clean install -DskipITsto make sure unit-test pass. Runmvn clean test-compile failsafe:integration-testto make sure integration-test pass.