Skip to content

Conversation

@AnonHxy
Copy link
Contributor

@AnonHxy AnonHxy commented Nov 20, 2022

Motivation

Cherry-pick #16605

Modifications

Cherry-pick #16605

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

…pache#16605)

[improve][client]PIP-189: No batching if only one message in batch apache#16605

### Motivation

* See apache#16619

### Modifications

* See apache#16619
* Most of the Modifications are relevant to `BatchMessageContainerImpl`
* Of course there are some tests about batching need to be modified, because batched producer can also pubulish non-batched messages when this PIP applies. The tests include:
    * `RGUsageMTAggrWaitForAllMsgsTest`
    * `BatchMessageTest`
    * `BrokerEntryMetadataE2ETest`
    * `ClientDeduplicationTest`
    * `TopicReaderTest`
    * `PulsarClientToolTest`
@AnonHxy AnonHxy self-assigned this Nov 20, 2022
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Nov 20, 2022
@AnonHxy AnonHxy added ready-to-test and removed doc-not-needed Your PR changes do not impact docs labels Nov 20, 2022
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Nov 20, 2022
@AnonHxy
Copy link
Contributor Author

AnonHxy commented Nov 20, 2022

@Technoboy- @Jason918 PTAL

@Jason918 Jason918 requested a review from eolivelli November 21, 2022 03:03
Copy link
Contributor

@Jason918 Jason918 left a comment

Choose a reason for hiding this comment

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

LGTM

@Jason918 Jason918 changed the title [cherry-pick][branch-2.11] PIP-189: No batching if only one message in batch (#… [improve][client][branch-2.11]PIP-189: No batching if only one message in batch Nov 21, 2022
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM

@eolivelli eolivelli merged commit 7080120 into apache:branch-2.11 Nov 21, 2022
@eolivelli
Copy link
Contributor

thank you @Jason918

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs ready-to-test release/2.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants