This is an automated email from the ASF dual-hosted git repository.
showuon pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 8965240 MINOR: Fix doc variable typos in `TopicConfig` (#11972)
8965240 is described below
commit 8965240da3ba704e1606f1a00024f365aa0b3d2a
Author: Xiaobing Fang <[email protected]>
AuthorDate: Thu Mar 31 09:54:42 2022 +0800
MINOR: Fix doc variable typos in `TopicConfig` (#11972)
Reviewers: Luke Chen <[email protected]>
---
clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java | 2 +-
core/src/main/scala/kafka/log/LogConfig.scala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java
b/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java
index 73439c5..dc80b7c 100755
--- a/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java
+++ b/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java
@@ -99,7 +99,7 @@ public class TopicConfig {
"limit only applies to a single record in that case.";
public static final String INDEX_INTERVAL_BYTES_CONFIG =
"index.interval.bytes";
- public static final String INDEX_INTERVAL_BYTES_DOCS = "This setting
controls how frequently " +
+ public static final String INDEX_INTERVAL_BYTES_DOC = "This setting
controls how frequently " +
"Kafka adds an index entry to its offset index. The default setting
ensures that we index a " +
"message roughly every 4096 bytes. More indexing allows reads to jump
closer to the exact " +
"position in the log but makes the index larger. You probably don't
need to change this.";
diff --git a/core/src/main/scala/kafka/log/LogConfig.scala
b/core/src/main/scala/kafka/log/LogConfig.scala
index 845f80a..7ad8579 100755
--- a/core/src/main/scala/kafka/log/LogConfig.scala
+++ b/core/src/main/scala/kafka/log/LogConfig.scala
@@ -234,7 +234,7 @@ object LogConfig {
val LocalLogRetentionMsDoc = TopicConfig.LOCAL_LOG_RETENTION_MS_DOC
val LocalLogRetentionBytesDoc = TopicConfig.LOCAL_LOG_RETENTION_BYTES_DOC
val MaxMessageSizeDoc = TopicConfig.MAX_MESSAGE_BYTES_DOC
- val IndexIntervalDoc = TopicConfig.INDEX_INTERVAL_BYTES_DOCS
+ val IndexIntervalDoc = TopicConfig.INDEX_INTERVAL_BYTES_DOC
val FileDeleteDelayMsDoc = TopicConfig.FILE_DELETE_DELAY_MS_DOC
val DeleteRetentionMsDoc = TopicConfig.DELETE_RETENTION_MS_DOC
val MinCompactionLagMsDoc = TopicConfig.MIN_COMPACTION_LAG_MS_DOC