<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-local-kafka-start"></a>

# confluent local kafka start

#### IMPORTANT
- You must have Docker running on your system to use `confluent local kafka start` and associated services. These commands run Apache Kafka® in Docker.
- The [confluent local](https://docs.confluent.io/confluent-cli/current/command-reference/local/index.html) 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](/platform/current/installation/index.html).

## Description

Start a local Apache Kafka instance.

```none
confluent local kafka start [flags]
```

## Flags

```none
--kafka-rest-port string    Kafka REST port number. (default "8082")
--plaintext-ports strings   A comma-separated list of port numbers for plaintext producer and consumer clients for brokers. If not specified, a random free port is used.
--brokers int32             Number of brokers (between 1 and 4, inclusive) in the Confluent Local Kafka cluster. (default 1)
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## See Also

* [confluent local kafka](index.md#confluent-local-kafka) - Manage a local instance of Apache Kafka.
