KAFKA-13466:when kafka-console-producer.sh, delete unused config batch.size #11517
KAFKA-13466:when kafka-console-producer.sh, delete unused config batch.size #11517showuon merged 1 commit intoapache:trunkfrom
Conversation
showuon
left a comment
There was a problem hiding this comment.
@peterwanner , thanks for the PR. But I think the issue here, is the "batch-size" option is already not used everywhere in the code anymore. There is actually already another option max-partition-memory-bytes that will be fed into the "batch.size" config (and default to 16KB). Anyway, could you please help remove the unused "batch-size" option in the code? If you need help, just let me know. Thank you.
|
@showuon ok ,and what shoud the lowest version like 2,x which the batch.size is not removed but still have the same error(default error) |
Sorry, I don't get your question. What is the error? What is default error? I thought the PR is to fix the "batch.size" default value inconsistency issue. I didn't see any error here. Thanks. |
ok I got it , please review. Thanks so much |
showuon
left a comment
There was a problem hiding this comment.
LGTM! Thanks for the patch.
@peterwanner , could you please also update the PR title/description, and also the content in
KAFKA-13466 in JIRA? Thank you.
|
ok, jira content and commit title both have changed now |
@showuon Could you help merge ths PR? Thanks a lot. |
|
@dajac , could you help review this PR? Thanks. |
|
@peterwanner , could you please fix the conflicts, so that I can merge the PR? Thank you. |
…h.size defaults # Please enter the commit message for your changes. Lines starting
|
@showuon yes, I have resolve the conflicts, please merge the PR. Thanks a lot |
|
@peterwanner , thanks for the update. I'll merge the PR after the jenkins build completed (and without breaking any tests). Thank you. |
|
retrigger the jenkins build again. |
|
Failed tests are unrelated and also failed in |
|
Thanks for the contribution, @peterwanner ! |
|
We should add a release note since this can cause some applications to break (it's now an error to pass this config vs a no op). |
|
@ijuma , good call! Thanks for the reminder. |
|
Looks like there was a KIP for this too https://cwiki.apache.org/confluence/display/KAFKA/KIP-717%3A+Deprecate+batch-size+config+from+console+producer. We probably should vote it and update the status correctly. cc @kamalcph |
|
@showuon ok, i have submited another pr 11855. please have a look at, thank you. |
|
OK, let's wait for the KIP discussion/vote passed, otherwise, we might need to revert this change. Thanks. |
…consistent with official docs# Please enter the commit message for your changes. Lines starting
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)