-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mingyen066: LGTM
@@ -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"; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
…_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]>
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]