confluent kafka topic delete

Description

Delete a Kafka topic.

confluent kafka topic delete <topic> [flags]

Flags

--cluster string       Kafka cluster ID.
--context string       CLI context name.
--environment string   Environment ID.

Global Flags

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

Examples

Delete the topics “my_topic” and “my_topic_avro”. Use this command carefully as data loss can occur.

confluent kafka topic delete my_topic
confluent kafka topic delete my_topic_avro

See Also