Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[perf] Support batch index ACK and max number of messages in batch #967

Merged

Conversation

BewareMyPower
Copy link
Contributor

Motivation

Currently, the perf tool does not support the maximum number of messages in batch for producer and batch index ACK for consumer.

Modifications

  • Add the --batching-max-size option to configure the maximum number of messages for producer
  • To keep the code style consistent, change the --batching-max-size config from int to uint
  • Add the --enable-batch-index-ack option to enable batch index ACK for consumer.

### Motivation

Currently, the perf tool does not support the maximum number of messages
in batch for producer and batch index ACK for consumer.

### Modifications

- Add the `--batching-max-size` option to configure the maximum number
  of messages for producer
- To keep the code style consistent, change the `--batching-max-size`
  config from `int` to `uint`
- Add the `--enable-batch-index-ack` option to enable batch index ACK
  for consumer.
@shibd shibd merged commit 13843e9 into apache:master Mar 1, 2023
@BewareMyPower BewareMyPower deleted the bewaremypower/perf-enable-batch-ack branch March 2, 2023 08:01
@RobertIndie RobertIndie added this to the v0.10.0 milestone Mar 27, 2023
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.

3 participants