This is an automated email from the ASF dual-hosted git repository.
AndrewJSchofield 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 0f1496b4a08 MINOR: Correct the deprecated console share consumer
option in the 4.3 upgrade notes (#22839)
0f1496b4a08 is described below
commit 0f1496b4a086bbf0bbfeb354a6fdc8272eced2f5
Author: yangxuze <[email protected]>
AuthorDate: Thu Jul 16 19:11:45 2026 +0800
MINOR: Correct the deprecated console share consumer option in the 4.3
upgrade notes (#22839)
The 4.3 upgrade notes incorrectly list `--consumer.config` as the
deprecated configuration-file option for
`kafka-console-share-consumer.sh`. That tool uses `--consumer-config`,
while `--consumer.config` remains the correct deprecated option for the
regular console consumer.
This change gives the share consumer its own entry and documents that
`--consumer-config` is deprecated in favor of `--command-config`. The
spelling was cross-checked against `ConsoleShareConsumerOptions` and its
focused option tests.
No tests were run because this is a documentation-only correction.
Reviewers: Andrew Schofield <[email protected]>
Co-authored-by: yangxuze <[email protected]>
---
docs/getting-started/upgrade.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/getting-started/upgrade.md b/docs/getting-started/upgrade.md
index bd429ee95b6..f960fc36235 100644
--- a/docs/getting-started/upgrade.md
+++ b/docs/getting-started/upgrade.md
@@ -122,7 +122,8 @@ Note: Apache Kafka 4.2 only supports KRaft mode - ZooKeeper
mode has been remove
* `kafka-consumer-perf-test.sh` and `kafka-share-consumer-perf-test.sh`
gain the `--command-property` option to bring all performance testing tools in
line
* The option `--command-config` is used for all command-line tools which
accept a file of configuration properties. The tools affected are:
* `kafka-cluster.sh` (`--config` is deprecated in favor of
`--command-config`)
- * `kafka-console-consumer.sh`, `kafka-console-producer.sh` and
`kafka-console-share-consumer.sh` (`--consumer.config` and `--producer.config`
are deprecated in favor of `--command-config`)
+ * `kafka-console-consumer.sh` and `kafka-console-producer.sh`
(`--consumer.config` and `--producer.config` are deprecated in favor of
`--command-config`)
+ * `kafka-console-share-consumer.sh` (`--consumer-config` is deprecated
in favor of `--command-config`)
* `kafka-consumer-perf-test.sh`, `kafka-producer-perf-test.sh` and
`kafka-share-consumer-perf-test.sh` (`--consumer.config` and
`--producer.config` are deprecated in favor of `--command-config`)
* `kafka-verifiable-consumer.sh` and `kafka-verifiable-producer.sh`
(`--consumer.config` and `--producer.config` are deprecated in favor of
`--command-config`)
* `kafka-leader-election.sh` (`--admin.config` is deprecated in favor of
`--command-config`)