mirror of https://github.com/apache/kafka.git
MINOR: Small fit and finish changes to Producer config doc strings (#19125)
- Adding a space, article and punctuation to the Producer config doc strings for consistency and readability. Reviewers: TengYao Chi <kitingiao@gmail.com>, Ken Huang <s7133700@gmail.com>, Justine Olshan <jolshan@confluent.io>
This commit is contained in:
parent
db38bef076
commit
6940bef6e8
|
@ -103,7 +103,7 @@ public class ProducerConfig extends AbstractConfig {
|
|||
public static final String PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_CONFIG = "partitioner.adaptive.partitioning.enable";
|
||||
private static final String PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_DOC =
|
||||
"When set to 'true', the producer will try to adapt to broker performance and produce more messages to partitions hosted on faster brokers. "
|
||||
+ "If 'false', producer will try to distribute messages uniformly. Note: this setting has no effect if a custom partitioner is used";
|
||||
+ "If 'false', the producer will try to distribute messages uniformly. Note: this setting has no effect if a custom partitioner is used.";
|
||||
|
||||
/** <code>partitioner.availability.timeout.ms</code> */
|
||||
public static final String PARTITIONER_AVAILABILITY_TIMEOUT_MS_CONFIG = "partitioner.availability.timeout.ms";
|
||||
|
@ -111,7 +111,7 @@ public class ProducerConfig extends AbstractConfig {
|
|||
"If a broker cannot process produce requests from a partition for <code>" + PARTITIONER_AVAILABILITY_TIMEOUT_MS_CONFIG + "</code> time, "
|
||||
+ "the partitioner treats that partition as not available. If the value is 0, this logic is disabled. "
|
||||
+ "Note: this setting has no effect if a custom partitioner is used or <code>" + PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_CONFIG
|
||||
+ "</code> is set to 'false'";
|
||||
+ "</code> is set to 'false'.";
|
||||
|
||||
/** <code>partitioner.ignore.keys</code> */
|
||||
public static final String PARTITIONER_IGNORE_KEYS_CONFIG = "partitioner.ignore.keys";
|
||||
|
|
Loading…
Reference in New Issue