Search results
Apache Kafka® provides a suite of command-line interface (CLI) tools that can be accessed from the /bin directory after downloading and extracting the Kafka files. These tools offer a range of capabilities, including starting and stopping Kafka, managing topics, and handling partitions.
- Topic Operations
The Confluent CLI with the kafka-topic subcommand makes it...
- Manage Consumer Groups
Apache Kafka® provides a kafka-consumer-groups.sh tool that...
- Batch Processing for Efficiency
To avoid this, Kafka employs a standardized binary message...
- Message Delivery Guarantees
The previous topics helped you understand how producers and...
- Design Overview
Topics in this section¶. The topics in this section are an...
- Replication
In Kafka, all topics must have a replication factor...
- Kafka APIs
It provides a set of operations that can be used to create,...
- Kafka and the File System
Kafka has access to virtually unlimited disk space without...
- Topic Operations
Kafka Topics CLI, i.e., kafka-topics is used to create, delete, describe, or change a topic in Kafka. Make sure you have started Kafka beforehand. CLI Extensions. Use CLI commands with appropriate extensions for your platform, e.g., kafka-topics.bat for windows, kafka-topics.sh for Linux and Mac.
Kafka ships with some tools you can use to accomplish this. List topics: # ./bin/kafka-topics.sh --list --zookeeper localhost:2181. test_topic_1. test_topic_2. ... List partitions and offsets:
In this chapter, you find the CLI command and options that are related to Kafka topics. Create a Kafka topic $KAFKA_HOME /bin/kafka-topics.sh --zookeeper $ZK_HOSTS --create --topic...
The Confluent CLI with the kafka-topic subcommand makes it easier create, modify and delete topics using the command line. For more information, see confluent kafka topic . Alternatively, you can use the Kafka CLI tools provided when you install Confluent Platform.
Learn how to use Kafka Command Line Interface (CLI) In this section we will learn about some of the most used CLI tools in Kafka: Kafka Topics Management with kafka-topics. Kafka Producer with kafka-console-producer. Kafka Consumer with kafka-console-consumer.
The Confluent command-line interface (CLI), confluent, enables developers to manage both Confluent Cloud and Confluent Platform and is source-available under the Confluent Community License (for more details, check out the Announcing the Source Available Confluent CLI blog post).