Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8131

Add --version parameter to command line help outputs & docs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: tools
    • Labels:
      None

      Description

      KAFKA-2061 added the --version flag to kafka-run-class.sh which prints the Kafka version to the commandline.

      As this is in kafka-run-class.sh this will effectively work for all commandline tools that use this file to run a class, so it should be added to the help output of these scripts as well. A quick grep leads me to these suspects:

      • connect-distributed.sh
      • connect-standalone.sh
      • kafka-acls.sh
      • kafka-broker-api-versions.sh
      • kafka-configs.sh
      • kafka-console-consumer.sh
      • kafka-console-producer.sh
      • kafka-consumer-groups.sh
      • kafka-consumer-perf-test.sh
      • kafka-delegation-tokens.sh
      • kafka-delete-records.sh
      • kafka-dump-log.sh
      • kafka-log-dirs.sh
      • kafka-mirror-maker.sh
      • kafka-preferred-replica-election.sh
      • kafka-producer-perf-test.sh
      • kafka-reassign-partitions.sh
      • kafka-replica-verification.sh
      • kafka-server-start.sh
      • kafka-streams-application-reset.sh
      • kafka-topics.sh
      • kafka-verifiable-consumer.sh
      • kafka-verifiable-producer.sh
      • trogdor.sh
      • zookeeper-security-migration.sh
      • zookeeper-server-start.sh
      • zookeeper-shell.sh

      Currently this parameter is not documented at all, neither in the output nor in the official docs.

      I'd propose to add it to the docs as well as part of this issue, I'll look for a suitable place.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sliebau Sönke Liebau
                Reporter:
                sliebau Sönke Liebau
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: