You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several items in the Kafka docs configuration reference seem to include
links to other parts of the documentation that do not work anymore on
the new website. This PR updates them in the Java code so that they
could be fixed in the next release. It is using the pattern already used
for some other configuration otpions, so hopefully it is the correct
one.
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
publicstaticfinalStringMIN_CLEANABLE_DIRTY_RATIO_DOC = "This configuration controls how frequently " +
142
-
"the log compactor will attempt to clean the log (assuming <a href=\"#compaction\">log " +
142
+
"the log compactor will attempt to clean the log (assuming <a href=\"https://kafka.apache.org/documentation/#compaction\">log " +
143
143
"compaction</a> is enabled). By default we will avoid cleaning a log where more than " +
144
144
"50% of the log has been compacted. This ratio bounds the maximum space wasted in " +
145
145
"the log by duplicates (at 50% at most 50% of the log could be duplicates). A " +
@@ -156,7 +156,7 @@ public class TopicConfig {
156
156
publicstaticfinalStringCLEANUP_POLICY_DOC = "This config designates the retention policy to " +
157
157
"use on log segments. The \"delete\" policy (which is the default) will discard old segments " +
158
158
"when their retention time or size limit has been reached. The \"compact\" policy will enable " +
159
-
"<a href=\"#compaction\">log compaction</a>, which retains the latest value for each key. " +
159
+
"<a href=\"https://kafka.apache.org/documentation/#compaction\">log compaction</a>, which retains the latest value for each key. " +
160
160
"It is also possible to specify both policies in a comma-separated list (e.g. \"delete,compact\"). " +
161
161
"In this case, old segments will be discarded per the retention time and size configuration, " +
162
162
"while retained segments will be compacted. " +
@@ -185,7 +185,7 @@ public class TopicConfig {
185
185
"A typical scenario would be to create a topic with a replication factor of 3, " +
186
186
"set <code>min.insync.replicas</code> to 2, and produce with <code>acks</code> of \"all\". " +
187
187
"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." +
188
-
"<p>Note that when the Eligible Leader Replicas feature is enabled, the semantics of this config changes. Please refer to <a href=\"#eligible_leader_replicas\">the ELR section</a> for more info.</p>";
188
+
"<p>Note that when the Eligible Leader Replicas feature is enabled, the semantics of this config changes. Please refer to <a href=\"https://kafka.apache.org/documentation/#eligible_leader_replicas\">the ELR section</a> for more info.</p>";
Copy file name to clipboardExpand all lines: clients/src/main/java/org/apache/kafka/common/config/internals/BrokerSecurityConfigs.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ public class BrokerSecurityConfigs {
55
55
" from the client certificate to short name. The rules are evaluated in order and the first rule that matches" +
56
56
" a principal name is used to map it to a short name. Any later rules in the list are ignored. By default," +
57
57
" distinguished name of the X.500 certificate will be the principal. For more details on the format please" +
58
-
" see <a href=\"#security_authz\"> security authorization and acls</a>. Note that this configuration is ignored" +
58
+
" see <a href=\"https://kafka.apache.org/documentation/#security_authz\"> security authorization and acls</a>. Note that this configuration is ignored" +
59
59
" if an extension of KafkaPrincipalBuilder is provided by the <code>" + PRINCIPAL_BUILDER_CLASS_CONFIG + "</code>" +
60
60
" configuration.";
61
61
@@ -65,7 +65,7 @@ public class BrokerSecurityConfigs {
65
65
"names to short names (typically operating system usernames). The rules are evaluated in order and the " +
66
66
"first rule that matches a principal name is used to map it to a short name. Any later rules in the list are " +
67
67
"ignored. By default, principal names of the form <code>{username}/{hostname}@{REALM}</code> are mapped " +
68
-
"to <code>{username}</code>. For more details on the format please see <a href=\"#security_authz\"> " +
68
+
"to <code>{username}</code>. For more details on the format please see <a href=\"https://kafka.apache.org/documentation/#security_authz\"> " +
69
69
"security authorization and acls</a>. Note that this configuration is ignored if an extension of " +
70
70
"<code>KafkaPrincipalBuilder</code> is provided by the <code>" + PRINCIPAL_BUILDER_CLASS_CONFIG + "</code> configuration.";
0 commit comments