This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/4.0 by this push:
new 42cac5a5551 MINOR: Adjust ToC of zk2kraft and fix wrong section number
of docker (#19146)
42cac5a5551 is described below
commit 42cac5a55512a1c240a141b1e5fc15e90d8671c2
Author: TengYao Chi <[email protected]>
AuthorDate: Sun Mar 9 08:55:50 2025 +0800
MINOR: Adjust ToC of zk2kraft and fix wrong section number of docker
(#19146)
Reviewers: Chia-Ping Tsai <[email protected]>
---
docs/documentation.html | 4 +++-
docs/{ => documentation}/zk2kraft.html | 12 ++++++------
docs/toc.html | 2 +-
docs/upgrade.html | 2 +-
docs/zk2kraft-summary.html | 27 +++++++++++++++++++++++++++
5 files changed, 38 insertions(+), 9 deletions(-)
diff --git a/docs/documentation.html b/docs/documentation.html
index d95777dc19c..e499031c8f5 100644
--- a/docs/documentation.html
+++ b/docs/documentation.html
@@ -76,7 +76,9 @@
<!--#include virtual="ecosystem.html" -->
<h3 class="anchor-heading"><a id="upgrade" class="anchor-link"></a><a
href="#upgrade">1.5 Upgrading From Previous Versions</a></h3>
<!--#include virtual="upgrade.html" -->
- <h3 class="anchor-heading"><a id="docker" class="anchor-link"></a><a
href="#docker">1.6 Docker</a></h3>
+ <h3 class="anchor-heading"><a id="zk2kraft-summary"
class="anchor-link"></a><a href="#zk2kraft-summary">1.6 KRaft vs
ZooKeeper</a></h3>
+ <!--#include virtual="zk2kraft-summary.html" -->
+ <h3 class="anchor-heading"><a id="docker" class="anchor-link"></a><a
href="#docker">1.7 Docker</a></h3>
<!--#include virtual="docker.html" -->
<h2 class="anchor-heading"><a id="api" class="anchor-link"></a><a
href="#api">2. APIs</a></h2>
diff --git a/docs/zk2kraft.html b/docs/documentation/zk2kraft.html
similarity index 98%
rename from docs/zk2kraft.html
rename to docs/documentation/zk2kraft.html
index ae7c7ff1bcf..69e322bb048 100644
--- a/docs/zk2kraft.html
+++ b/docs/documentation/zk2kraft.html
@@ -15,8 +15,8 @@
limitations under the License.
-->
-<!--#include virtual="../includes/_header.htm" -->
-<!--#include virtual="../includes/_top.htm" -->
+<!--#include virtual="../../includes/_header.htm" -->
+<!--#include virtual="../../includes/_top.htm" -->
<div class="content">
<div class="p-zk2kraft">
<h1>Differences Between KRaft mode and ZooKeeper mode</h1>
@@ -32,8 +32,8 @@
<li>
<p>
Removed password encoder-related configurations. These
configurations were used in
- ZooKeeper mode to define the key and backup key for encrypting
sensitive data (e.g., passwords),
- specify the algorithm and key generation method for password
encryption (e.g., AES, RSA), and control
+ ZooKeeper mode to define the key and backup key for encrypting
sensitive data (e.g., passwords),
+ specify the algorithm and key generation method for password
encryption (e.g., AES, RSA), and control
the key length and encryption strength.
</p>
<ul>
@@ -57,7 +57,7 @@
<p>
In KRaft mode, Kafka eliminates its dependency on ZooKeeper,
and the control plane functionality is
fully integrated into Kafka itself. The process roles are
clearly separated: brokers handle data-related
- requests, while the controllers (a.k.a., quorum controller)
manages metadata-related requests. The controllers
+ requests, while the controllers (a.k.a., quorum controller)
manages metadata-related requests. The controllers
use the Raft protocol for internal communication, which
operates differently from the ZooKeeper model. Use the
following parameters to configure the control plane listener:
</p>
@@ -316,5 +316,5 @@
</li>
</ul>
</div>
-<!--#include virtual="../includes/_footer.htm" -->
+<!--#include virtual="../../includes/_footer.htm" -->
</div>
diff --git a/docs/toc.html b/docs/toc.html
index 906860b939b..cc8107ad8a3 100644
--- a/docs/toc.html
+++ b/docs/toc.html
@@ -27,7 +27,7 @@
<li><a href="#quickstart">1.3 Quick Start</a>
<li><a href="#ecosystem">1.4 Ecosystem</a>
<li><a href="#upgrade">1.5 Upgrading</a>
- <li><a href="/{{version}}/zk2kraft">1.6 Differences Between
KRaft mode and ZooKeeper mode</a>
+ <li><a href="#zk2kraft-summary">1.6 KRaft vs ZooKeeper</a>
<li><a href="#docker">1.7 Docker</a>
</ul>
diff --git a/docs/upgrade.html b/docs/upgrade.html
index 5d3d6caec72..29e499f8f97 100644
--- a/docs/upgrade.html
+++ b/docs/upgrade.html
@@ -57,7 +57,7 @@
have to be <a
href="/39/documentation.html#kraft_zk_migration">migrated to KRaft mode</a>
before they can be upgraded to 4.0.x.
</li>
<li>
- Apache Kafka 4.0 ships with a brand-new group coordinator
implementation (See <a
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=217387038#KIP848:TheNextGenerationoftheConsumerRebalanceProtocol-GroupCoordinator">here</a>.
+ Apache Kafka 4.0 ships with a brand-new group coordinator
implementation (See <a
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=217387038#KIP848:TheNextGenerationoftheConsumerRebalanceProtocol-GroupCoordinator">here</a>).
Functionally speaking, it implements all the same APIs. There are
reasonable defaults, but the behavior of the new
group coordinator can be tuned by setting the configurations with
prefix <code>group.coordinator</code>.
</li>
diff --git a/docs/zk2kraft-summary.html b/docs/zk2kraft-summary.html
new file mode 100644
index 00000000000..9ed9c2a5473
--- /dev/null
+++ b/docs/zk2kraft-summary.html
@@ -0,0 +1,27 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<script><!--#include virtual="js/templateData.js" --></script>
+
+<script id="zk2kraft-summary-template" type="text/x-handlebars-template">
+<p>
+ There are many differences between ZooKeeper mode and KRaft mode.
+ The <a href="/{{version}}/documentation/zk2kraft.html">Differences Between
KRaft mode and ZooKeeper mode</a> page lists all of these differences,
+ including configurations, metrics, and behavioral changes.
+</p>
+</script>
+<div class="p-zk2kraft-summary"></div>