Kafka - Cli

About

The cli is an utility to manage:

from the command line.

Cli is a linux only tool. On Windows platforms use bin\windows\ instead of bin/, and change the script extension to .bat

Management

start

confluent start

The equivalent commands to start every service in its own terminal, without using the CLI are:

# Start ZooKeeper.  Run this command in its own terminal.
$ ./bin/zookeeper-server-start ./etc/kafka/zookeeper.properties
# Start Kafka.  Run this command in its own terminal.
$ ./bin/kafka-server-start ./etc/kafka/server.properties
# Start Schema Registry. Run this command in its own terminal.
$ ./bin/schema-registry-start ./etc/schema-registry/schema-registry.properties
# Start Connect in distributed mode. Run this command in its own terminal.
$ ./bin/connect-distributed ./etc/schema-registry/connect-avro-distributed.properties

Location

<path-to-confluent>/bin/confluent

Help

confluent help

Actions

destroy

To completely delete any data produced and start on a clean slate, you may run confluent destroy instead.

Documentation / Reference


Powered by ComboStrap