Home

Awesome

Danger: Unmaintained Code Ahead

This repository is no longer maintained by Confluent. It has been superceded by the proprietary confluent-cli which provides significantly more functionality, including ACLs, RBAC, and Audit Log management for Confluent Platform.

Confluent Platform CLI

A CLI to start and manage Confluent Platform from command line.

Installation

Usage

To get a list of available commands, run:

$ export PATH=${CONFLUENT_HOME}/bin:${PATH};
$ confluent help

Examples:

$ confluent start
$ confluent status
$ confluent log connect
$ confluent top kafka
$ confluent list plugins
$ confluent list connectors
$ confluent load file-source
$ confluent load file-sink
$ confluent status connectors
$ confluent status file-source
$ confluent config file-source
$ confluent config file-source -d ./updated-file-source-config.json
$ confluent config file-source -d ./updated-file-source-config.properties
$ confluent current
$ confluent unload file-sink
$ confluent stop
$ confluent destroy

Set CONFLUENT_CURRENT if you want to use a top directory for confluent runs other than your platform's tmp directory.

$ cd $CONFLUENT_HOME
$ mkdir -p var
$ export CONFLUENT_CURRENT=${CONFLUENT_HOME}/var
$ confluent current