kafka icon indicating copy to clipboard operation
kafka copied to clipboard

KAFKA-2526: command line --producer-property wins

Open jkt628 opened this issue 1 year ago • 1 comments

apply --producer-property settings last to override any, including default, values.

tested manually with value.serializer. the extant test for client.id is unaffected.

Committer Checklist (excluded from commit message)

  • [ ] Verify design and implementation
  • [ ] Verify test coverage and CI build status
  • [ ] Verify documentation (including upgrade notes)

jkt628 avatar Jun 30 '24 11:06 jkt628

test failures seem very much UNRELATED to this change.

jkt628 avatar Jul 01 '24 09:07 jkt628

This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please leave a comment asking for a review. If the PR has merge conflicts, update it with the latest from the base branch.

If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact).

If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.

github-actions[bot] avatar Jan 16 '25 03:01 github-actions[bot]

unstale

jkt628 avatar Jan 16 '25 11:01 jkt628

./gradlew clients:test -PmaxParallelForks=2 passes but i cannot run the full suite due to OOM.

jkt628 avatar Jan 16 '25 13:01 jkt628

This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please leave a comment asking for a review. If the PR has merge conflicts, update it with the latest from the base branch.

If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact).

If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.

github-actions[bot] avatar May 07 '25 03:05 github-actions[bot]

unstale

jkt628 avatar May 07 '25 11:05 jkt628

note test for client.id moved to https://github.com/apache/kafka/blob/trunk/tools/src/test/java/org/apache/kafka/tools/ConsoleProducerTest.java

jkt628 avatar May 26 '25 13:05 jkt628

This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please leave a comment asking for a review. If the PR has merge conflicts, update it with the latest from the base branch.

If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact).

If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.

github-actions[bot] avatar Aug 25 '25 03:08 github-actions[bot]

unstale

jkt628 avatar Aug 25 '25 10:08 jkt628

note parameters changed to --command-config and --command-property

jkt628 avatar Oct 16 '25 11:10 jkt628

@AndrewJSchofield @Yunyung would you please review?

jkt628 avatar Oct 16 '25 11:10 jkt628

Thanks for the PR. Since this changes the public interface/behavior of this tool, it requires a KIP, and I already have one (https://cwiki.apache.org/confluence/display/KAFKA/KIP-1137%3A+Standardize+Property+Loading+Priority). So we need to wait for this KIP to pass.

Yunyung avatar Oct 16 '25 17:10 Yunyung

Thanks for the PR. Since this changes the public interface/behavior of this tool, it requires a KIP, and I already have one (https://cwiki.apache.org/confluence/display/KAFKA/KIP-1137%3A+Standardize+Property+Loading+Priority). So we need to wait for this KIP to pass.

I think that KIP could do with a bit of encouragement.

AndrewJSchofield avatar Oct 17 '25 09:10 AndrewJSchofield

@AndrewJSchofield Thanks! The KIP felt encouraged and decided to make its debut :) I'd appreciate your review and feedback. Discussion thread: https://lists.apache.org/thread/vlqvcyl5j95t7w9rk3nnz09d0050yzh9

@jkt628 I will create a Jira Umbrella for this KIP once it is voted on and passed. Feel free to pick up some of the tasks.

Yunyung avatar Nov 03 '25 18:11 Yunyung

@Yunyung I certainly will review the KIP but probably not until after the 4.2 feature freeze.

AndrewJSchofield avatar Nov 04 '25 08:11 AndrewJSchofield