Skip to content

KAFKA-18068: Fix the typo PARTITIONER_ADPATIVE_PARTITIONING_ENABLE in ProducerConfig #20317

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

Conversation

mingyen066
Copy link
Collaborator

@mingyen066 mingyen066 commented Aug 6, 2025

Fixes a typo in ProducerConfig: Renames
PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_CONFIG
PARTITIONER_ADAPTIVE_PARTITIONING_ENABLE_CONFIG

The old key is retained for backward compatibility.

See: KIP-1175: Fix the typo PARTITIONER_ADPATIVE_PARTITIONING_ENABLE
in ProducerConfig

Reviewers: Yung [email protected], TengYao Chi
[email protected], Ken Huang [email protected], Nick Guo
[email protected], Ranuga Disansa [email protected]

@github-actions github-actions bot added triage PRs from the community producer clients small Small PRs labels Aug 6, 2025
Copy link
Collaborator

@Yunyung Yunyung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot removed the triage PRs from the community label Aug 7, 2025
Copy link
Contributor

@frankvicky frankvicky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mingyen066: LGTM

@frankvicky frankvicky merged commit 2329def into apache:trunk Aug 7, 2025
31 checks passed
@@ -101,8 +101,10 @@ public class ProducerConfig extends AbstractConfig {
+ "similar or lower producer latency despite the increased linger.";

/** <code>partitioner.adaptive.partitioning.enable</code> */
public static final String PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_CONFIG = "partitioner.adaptive.partitioning.enable";
private static final String PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_DOC =
public static final String PARTITIONER_ADAPTIVE_PARTITIONING_ENABLE_CONFIG = "partitioner.adaptive.partitioning.enable";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a minor deprecation, but it doesn't hurt to include it in upgrade.html, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to update upgrade.html.
#20322 will fix that.

chia7712 pushed a commit that referenced this pull request Aug 7, 2025
…_ENABLE_CONFIG (#20322)

Document deprecation of PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_CONFIG
in `upgrade.html`, which was missed in #20317

Reviewers: Ken Huang <[email protected]>, Chia-Ping Tsai
 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants