Important

You are viewing documentation for an older version of Confluent Platform. For the latest, click here.

confluent local stop

Description

Stop all services or a specific service its dependent services.

Important

The confluent local commands are intended for a single-node development environment and are not suitable for a production environment. The data that are produced are transient and are intended to be temporary. For production-ready workflows, see Install and Upgrade.

confluent local stop [<service>] --path <path-to-confluent>

Flags

Tip

You must either specify the path for each Confluent CLI confluent local command invocation, export the path as an environment variable for each terminal session, or set the path to your Confluent Platform installation in your shell profile. For example:

cat ~/.bash_profile
export CONFLUENT_HOME=<path-to-confluent>
export PATH="${CONFLUENT_HOME}/bin:$PATH"
Name, shorthand Description
--path <path-to-confluent> Path to Confluent Platform install directory.
-h, --help Print command information.

Positional arguments

Name, shorthand Default Description
<service> All services The service name. If specified, it stops the service and all dependencies.

Examples

  • Stop all components:

    confluent local stop
    

    Your output should resemble:

    Stopping control-center
    control-center is [DOWN]
    Stopping ksql-server
    ksql-server is [DOWN]
    Stopping connect
    connect is [DOWN]
    Stopping kafka-rest
    kafka-rest is [DOWN]
    Stopping schema-registry
    schema-registry is [DOWN]
    Stopping kafka
    kafka is [DOWN]
    Stopping zookeeper
    zookeeper is [DOWN]
    
  • Stop Apache Kafka® and its dependencies:

    confluent local stop kafka
    

    Your output should resemble:

    Stopping connect
    connect is [DOWN]
    Stopping kafka-rest
    kafka-rest is [DOWN]
    Stopping schema-registry
    schema-registry is [DOWN]
    Stopping kafka
    kafka is [DOWN]