This is an automated email from the ASF dual-hosted git repository.
mjsax pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.7 by this push:
new 1a697e6c0cb MINOR: Fix incorrect syntax for config (#15500)
1a697e6c0cb is described below
commit 1a697e6c0cb02be0c3f813b96344de94920a6137
Author: Joel Hamill <[email protected]>
AuthorDate: Fri Mar 8 15:15:43 2024 -0800
MINOR: Fix incorrect syntax for config (#15500)
Fix incorrect syntax for config.
Reviewers: Matthias J. Sax <[email protected]>
---
.../main/java/org/apache/kafka/clients/producer/ProducerConfig.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
b/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
index d74b5e4c1dd..9471b48aa42 100644
---
a/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
+++
b/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
@@ -294,8 +294,10 @@ public class ProducerConfig extends AbstractConfig {
"<ul>" +
"<li>If not set, the default partitioning logic is used. " +
"This strategy send records to a partition until at least " +
BATCH_SIZE_CONFIG + " bytes is produced to the partition. It works with the
strategy:" +
- "<p> 1) If no partition is specified but a key is present, choose
a partition based on a hash of the key." +
- "<p> 2) If no partition or key is present, choose the sticky
partition that changes when at least " + BATCH_SIZE_CONFIG + " bytes are
produced to the partition." +
+ "<ol>" +
+ "<li>If no partition is specified but a key is present, choose a
partition based on a hash of the key.</li>" +
+ "<li>If no partition or key is present, choose the sticky
partition that changes when at least " + BATCH_SIZE_CONFIG + " bytes are
produced to the partition.</li>" +
+ "</ol>" +
"</li>" +
"<li><code>org.apache.kafka.clients.producer.RoundRobinPartitioner</code>: A
partitioning strategy where " +
"each record in a series of consecutive records is sent to a
different partition, regardless of whether the 'key' is provided or not, " +