Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ ./bin/kafka-cluster.sh decommission -h
usage: kafka-cluster decommission [-b,-c,-h,-ih] [--bootstrap-server BOOTSTRAP_SERVER] [--config CONFIG] [--id ID]

optional arguments:
  -bh, --help             show this help message and exit
  --bootstrap-server a BOOTSTRAP_SERVER, -b BOOTSTRAP_SERVER
                         A list of host/port pairs to use for establishing the connection to the kafka cluster.
  -c, --config CONFIG, -c CONFIG
        a property file containing configs to be passed to Admin Client.
  -h, --help    A property file containing configs to passed   show this help message and exitto AdminClient.
  -i, --id ID, -i ID          The  the ID of the broker to decommission.

The decommission command removes the registration of a specific broker ID.  It will use make a DecommissionBrokerRequest in order to do this.

...