MINOR: Adjust ToC of zk2kraft and fix wrong section number of docker (#19146)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
TengYao Chi 2025-03-09 08:55:50 +08:00 committed by GitHub
parent 947c414a8c
commit adbd2823ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 38 additions and 9 deletions

View File

@ -76,7 +76,9 @@
<!--#include virtual="ecosystem.html" --> <!--#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> <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" --> <!--#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" --> <!--#include virtual="docker.html" -->
<h2 class="anchor-heading"><a id="api" class="anchor-link"></a><a href="#api">2. APIs</a></h2> <h2 class="anchor-heading"><a id="api" class="anchor-link"></a><a href="#api">2. APIs</a></h2>

View File

@ -15,8 +15,8 @@
limitations under the License. limitations under the License.
--> -->
<!--#include virtual="../includes/_header.htm" --> <!--#include virtual="../../includes/_header.htm" -->
<!--#include virtual="../includes/_top.htm" --> <!--#include virtual="../../includes/_top.htm" -->
<div class="content"> <div class="content">
<div class="p-zk2kraft"> <div class="p-zk2kraft">
<h1>Differences Between KRaft mode and ZooKeeper mode</h1> <h1>Differences Between KRaft mode and ZooKeeper mode</h1>
@ -32,8 +32,8 @@
<li> <li>
<p> <p>
Removed password encoder-related configurations. These configurations were used in 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), 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 specify the algorithm and key generation method for password encryption (e.g., AES, RSA), and control
the key length and encryption strength. the key length and encryption strength.
</p> </p>
<ul> <ul>
@ -57,7 +57,7 @@
<p> <p>
In KRaft mode, Kafka eliminates its dependency on ZooKeeper, and the control plane functionality is 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 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 use the Raft protocol for internal communication, which operates differently from the ZooKeeper model. Use the
following parameters to configure the control plane listener: following parameters to configure the control plane listener:
</p> </p>
@ -316,5 +316,5 @@
</li> </li>
</ul> </ul>
</div> </div>
<!--#include virtual="../includes/_footer.htm" --> <!--#include virtual="../../includes/_footer.htm" -->
</div> </div>

View File

@ -27,7 +27,7 @@
<li><a href="#quickstart">1.3 Quick Start</a> <li><a href="#quickstart">1.3 Quick Start</a>
<li><a href="#ecosystem">1.4 Ecosystem</a> <li><a href="#ecosystem">1.4 Ecosystem</a>
<li><a href="#upgrade">1.5 Upgrading</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> <li><a href="#docker">1.7 Docker</a>
</ul> </ul>

View File

@ -67,7 +67,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. 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>
<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 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>. group coordinator can be tuned by setting the configurations with prefix <code>group.coordinator</code>.
</li> </li>

View File

@ -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>