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 9f5a9a16a5e8b..958df8abc311d 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
@@ -181,7 +181,8 @@ public class TopicConfig {
"When used together, min.insync.replicas
and acks
allow you to enforce greater durability guarantees. " +
"A typical scenario would be to create a topic with a replication factor of 3, " +
"set min.insync.replicas
to 2, and produce with acks
of \"all\". " +
- "This will ensure that a majority of replicas must persist a write before it's considered successful by the producer and it's visible to consumers.";
+ "This ensures that a majority of replicas must persist a write before it's considered successful by the producer and it's visible to consumers." +
+ "
Note that when the Eligible Leader Replicas feature is enabled, the semantics of this config changes. Please refer to the ELR section for more info.
"; public static final String COMPRESSION_TYPE_CONFIG = "compression.type"; public static final String COMPRESSION_TYPE_DOC = "Specify the final compression type for a given topic. " + diff --git a/docs/ops.html b/docs/ops.html index 0b1e8fa68803a..8e84a3bf2ae0a 100644 --- a/docs/ops.html +++ b/docs/ops.html @@ -4498,9 +4498,16 @@The ELR fields can be checked through the API DescribeTopicPartitions. The admin client can fetch the ELR info by describing the topics.
- Also note that, if min.insync.replicas
is updated for a topic, the ELR field will be cleaned. If cluster default min ISR is updated,
- all the ELR fields will be cleaned.
The ELR fields can be checked through the API DescribeTopicPartitions. The admin client can fetch the ELR info by describing the topics.
+Note that when the ELR feature is enabled:
+min.insync.replicas
config will be added if there is not any. The value is the same as the static config in the active controller.min.insync.replicas
config at the cluster-level is not allowed.min.insync.replicas
is updated, even if the value is unchanged, all the ELR state will be cleaned.min.insync.replicas
value at the broker-level config will be removed. Please set at the cluster-level if necessary.min.insync.replicas
config at the broker-level is not allowed.min.insync.replicas
is updated for a topic, the ELR state will be cleaned.min.insync.replicas
value at the broker-level config will be removed.
+ Please set at the cluster-level if necessary.
For further details, please refer to here.