Skip to content

Commit e4795bf

Browse files
authored
KAFKA-19900: Fix the documentation for remove controller (#20931)
This PR removes the mention to KIP-996 when it comes to remove a controller because such KIP is now implemented and already included into Apache Kafka (since 4.0.0) so the correct sequence is always remove the controller first and the shut down it. Reviewers: Mickael Maison <mickael.maison@gmail.com>, Luke Chen <showuon@gmail.com> Signed-off-by: Paolo Patierno <ppatierno@live.com>
1 parent 275c944 commit e4795bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ops.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4161,7 +4161,7 @@ <h5 class="anchor-heading"><a id="kraft_reconfig_add" class="anchor-link"></a><a
41614161
please also include in the "controller.properties".</p>
41624162

41634163
<h5 class="anchor-heading"><a id="kraft_reconfig_remove" class="anchor-link"></a><a href="#kraft_reconfig_remove">Remove Controller</a></h5>
4164-
If the dynamic controller cluster already exists, it can be shrunk using the <code>bin/kafka-metadata-quorum.sh remove-controller</code> command. Until KIP-996: Pre-vote has been implemented and released, it is recommended to shutdown the controller that will be removed before running the remove-controller command.
4164+
If the dynamic controller cluster already exists, it can be shrunk using the <code>bin/kafka-metadata-quorum.sh remove-controller</code> command. Use the remove-controller command before shutting down the controller to have it removed from the quorum first.
41654165

41664166
When using broker endpoints use the --bootstrap-server flag:
41674167
<pre><code class="language-bash">$ bin/kafka-metadata-quorum.sh --bootstrap-server localhost:9092 remove-controller --controller-id &lt;id&gt; --controller-directory-id &lt;directory-id&gt;</code></pre>

0 commit comments

Comments
 (0)