-
Notifications
You must be signed in to change notification settings - Fork 14.5k
KAFKA-19427: Allow the coordinator to grow its buffer dynamically #20040
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
Merged
chia7712
merged 25 commits into
apache:trunk
from
mingyen066:KAFKA-19427-Allow-the-coordinator-to-grow-its-buffer-dynamically
Jul 16, 2025
Merged
Changes from 4 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ddb8bf5
KAFKA-19427 Allow the coordinator to grow its buffer dynamically
mingyen066 7f7de43
Enhance comment
mingyen066 cbc6390
Update CoordinatorRuntime.java
mingyen066 cec3164
Adjust initial value
mingyen066 b707e23
adjust variable initial
mingyen066 2c85c7a
Remove initialization from constructor
mingyen066 f36a634
Get maxBatchSize
mingyen066 3d8a018
initialize buffer size with (min(MIN_BUFFER_SIZE, maxBatchSize)
mingyen066 beed828
Change MIN_BUFFER_SIZE to 512KB
mingyen066 c5b58b3
Adjust release buffer logic
mingyen066 335f0f2
Eliminate Stream usage
mingyen066 7fcb481
Add test
mingyen066 39fc849
Simplify buffer release logic
mingyen066 6f045ec
Add testCoordinatorRetainExpandedBuffer
mingyen066 24eed02
Remove useless Override
mingyen066 8c631e9
Enhance test name
mingyen066 86ea92c
Change MIN_BUFFER_SIZE to INITIAL_BUFFER_SIZE.
mingyen066 ed6ca44
Add testBufferShrinkWhenMaxMessageSizeReducedBelowInitialBufferSize
mingyen066 89604dc
make sure the buffer size is equals to the decreased maxMessageSize t…
mingyen066 dff08dd
Remove useless semicolon
mingyen066 7406620
Merge branch 'trunk' into KAFKA-19427-Allow-the-coordinator-to-grow-i…
mingyen066 bef299a
Add batchSize check
mingyen066 3c2cc01
adjust assert
mingyen066 8f916ca
add comment
mingyen066 da2f395
address comment
mingyen066 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.