Kafka - Cli

> Data Integration Tool (ETL/ELT) > Kafka (Event Hub)

1 - 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

Advertising

3 - Management

3.1 - 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

3.2 - Location

<path-to-confluent>/bin/confluent

3.3 - Help

confluent help

3.4 - Actions

3.4.1 - destroy

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

4 - Documentation / Reference

Advertising