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

[v23.2.x] rpk produce: Adjust timeout and maxBytes options #15380

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #15371
Fixes: #15379,

1. ProduceRequestTimeout: we are now using the
duration set by `--delivery-timeout` to also
adjust the ProduceRequestTimeout. We are using the
same flag to avoid adding another knob that may
lead to confusion.

2. BrokerMaxWriteBytes: we were only adjusting
the ProducerBatchMaxBytes with the
`--max-message-bytes`, that means we were only
maxing out batch bytes but not the broker max
bytes and we would likely hit the broker byte
batch limit if not increased.is limit if we were
producing a record big enough.

(cherry picked from commit 49dcd7a)
@vbotbuildovich vbotbuildovich added this to the v23.2.x-next milestone Dec 8, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Dec 8, 2023
@r-vasquez r-vasquez marked this pull request as ready for review December 8, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants