Skip to content

[ISSUE #2219] Add some asynchronous API for batch messages#2315

Merged
zongtanghu merged 2 commits into
apache:developfrom
zhangjidi2016:develop
Sep 25, 2020
Merged

[ISSUE #2219] Add some asynchronous API for batch messages#2315
zongtanghu merged 2 commits into
apache:developfrom
zhangjidi2016:develop

Conversation

@zhangjidi2016
Copy link
Copy Markdown
Contributor

What is the purpose of the change

Add some asynchronous API for batch messages

Brief changelog

Add some asynchronous API for batch messages

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.

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test to make sure integration-test pass.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@coveralls
Copy link
Copy Markdown

coveralls commented Sep 20, 2020

Coverage Status

Coverage decreased (-0.09%) to 51.412% when pulling f4cc140 on zhangjidi2016:develop into b29209e on apache:develop.

Comment on lines +272 to +273
producer.send(msgs, new MessageQueue(), sendCallback);
producer.send(msgs, new MessageQueue(), sendCallback, 1000);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a question, here you can add another test case to coverage the case which send message successfully based on the specified message queue.

@zongtanghu
Copy link
Copy Markdown
Contributor

LGTM

@zongtanghu zongtanghu merged commit 73f2071 into apache:develop Sep 25, 2020
@RongtongJin RongtongJin added this to the 4.8.0 milestone Dec 5, 2020
GenerousMan pushed a commit to GenerousMan/rocketmq that referenced this pull request Aug 12, 2022
…che#2315)

* [ISSUE apache#2219] Add asynchronous batch send method.

* modify the ut

Co-authored-by: zhangjidi2016 <zhangjidi@cmss.chinamobile.com>
pulllock pushed a commit to pulllock/rocketmq that referenced this pull request Oct 19, 2023
…che#2315)

* [ISSUE apache#2219] Add asynchronous batch send method.

* modify the ut

Co-authored-by: zhangjidi2016 <zhangjidi@cmss.chinamobile.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants