This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 21358342f49 MINOR: Improve the example of kafka-metadata-shell.sh 
(#19107)
21358342f49 is described below

commit 21358342f49009cbdfd2b634e05275cd5af29fd8
Author: mingdaoy <[email protected]>
AuthorDate: Thu Mar 6 17:32:07 2025 +0800

    MINOR: Improve the example of kafka-metadata-shell.sh (#19107)
    
    Reviewers: Jhen-Yung Hsu <[email protected]>, TengYao Chi 
<[email protected]>, Ken Huang <[email protected]>, Chia-Ping Tsai 
<[email protected]>
---
 docs/ops.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/ops.html b/docs/ops.html
index 6c36bf6f8e8..e821cf50408 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -3965,7 +3965,7 @@ CurrentObservers:       [{"id": 0, "directoryId": 
"3Db5QLSqSZieL3rJBUUegA"},
 
   <p>The kafka-metadata-shell.sh tool can be used to interactively inspect the 
state of the cluster metadata partition:</p>
 
-  <pre><code class="language-bash">$ bin/kafka-metadata-shell.sh --snapshot 
metadata_log_dir/__cluster_metadata-0/00000000000000000000.checkpoint
+  <pre><code class="language-bash">$ bin/kafka-metadata-shell.sh --snapshot 
metadata_log_dir/__cluster_metadata-0/00000000000000007228-0000000001.checkpoint
 &gt;&gt; ls /
 brokers  local  metadataQuorum  topicIds  topics
 &gt;&gt; ls /topics
@@ -3983,7 +3983,7 @@ foo
   "partitionEpoch" : 0
 }
 &gt;&gt; exit</code></pre>
-
+  Note: <code>00000000000000000000-0000000000.checkpoint</code> does not 
contain cluster metadata. Use a valid snapshot file when examining metadata 
with the <code>kafka-metadata-shell.sh</code> tool.
   <h4 class="anchor-heading"><a id="kraft_deployment" 
class="anchor-link"></a><a href="#kraft_deployment">Deploying 
Considerations</a></h4>
 
   <ul>

Reply via email to