Important

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

confluent local current

Description

Print the filesystem path of the data and logs of the services managed by the current confluent local command. If such a path does not exist, it will be created.

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 Platform.

You can use these commands to explore, test, experiment, and otherwise familiarize yourself with Confluent Platform.

confluent local current --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 Default Description
--path <path-to-confluent>   Path to Confluent Platform install directory.
-h, --help   Print command information.

Example

If you run the confluent local current command, your output should resemble:

  • Linux

    /tmp/confluent.SpBP4fQi
    
  • macOS

    /var/folders/cs/1rndf6593qb3kb6r89h50vgr0000gp/T/confluent.coGqEVea