You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by sh...@apache.org on 2025/01/02 01:36:05 UTC
(kafka) branch trunk updated: MINOR: fix sh command and properties file (#18369)
This is an automated email from the ASF dual-hosted git repository.
showuon 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 4896d02ca7e MINOR: fix sh command and properties file (#18369)
4896d02ca7e is described below
commit 4896d02ca7ee7bca68dda5f33ca87559bf0a1d70
Author: Ken Huang <s7...@gmail.com>
AuthorDate: Thu Jan 2 09:35:58 2025 +0800
MINOR: fix sh command and properties file (#18369)
In document the shell command base dir is in Kafka, so we should make all command is bin/<tools>.sh
In kafka repo doesn't have controller_static.properties this file, this would misunderstanding user, I change to use controller.properties
Reviewers: Luke Chen <sh...@gmail.com>, Chia-Ping Tsai <ch...@gmail.com>
---
docs/ops.html | 2 +-
docs/streams/developer-guide/app-reset-tool.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/ops.html b/docs/ops.html
index c299d7c8dbd..abb335afa5b 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -3753,7 +3753,7 @@ Feature: metadata.version SupportedMinVersion: 3.0-IV1 SupportedMaxVers
this flag when formatting brokers -- only when formatting controllers.)<p>
<pre><code class="language-bash">
- $ bin/kafka-storage.sh format -t KAFKA_CLUSTER_ID --feature kraft.version=1 -c controller_static.properties
+ $ bin/kafka-storage.sh format -t KAFKA_CLUSTER_ID --feature kraft.version=1 -c controller.properties
Cannot set kraft.version to 1 unless KIP-853 configuration is present. Try removing the --feature flag for kraft.version.
</code></pre><p>
diff --git a/docs/streams/developer-guide/app-reset-tool.html b/docs/streams/developer-guide/app-reset-tool.html
index bf157e38669..fcd3b59c90f 100644
--- a/docs/streams/developer-guide/app-reset-tool.html
+++ b/docs/streams/developer-guide/app-reset-tool.html
@@ -67,7 +67,7 @@
<h2>Step 1: Run the application reset tool<a class="headerlink" href="#step-1-run-the-application-reset-tool" title="Permalink to this headline"></a></h2>
<p>Invoke the application reset tool from the command line</p>
<p>Warning! This tool makes irreversible changes to your application. It is strongly recommended that you run this once with <code class="docutils literal"><span class="pre">--dry-run</span></code> to preview your changes before making them.</p>
- <pre><code class="language-bash">$ bin/kafka-streams-application-reset</code></pre>
+ <pre><code class="language-bash">$ bin/kafka-streams-application-reset.sh</code></pre>
<p>The tool accepts the following parameters:</p>
<pre><code class="language-text">Option (* = required) Description
--------------------- -----------