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
Topic Operations¶. A Kafka topic is the fundamental unit of...
- 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...
- 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:
7 wrz 2020 · This page summarizes commonly used Apache Kafka Windows commands. Setup an environment variable named KAFKA_HOME that points to where Kafka is located. Example: SET KAFKA_HOME=F:\big-data\kafka_2.13-2.6.0 warning Remember to change the server address, port number and Kafka ...
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.
7 wrz 2023 · Open another terminal session and run the kafka-topics command to create a Kafka topic named demo-messages: cd kafka_2.13-3.5.0 bin/kafka-topics.sh --create --topic demo-messages --bootstrap-server localhost:9092
29 wrz 2019 · Do you make changes to your Kafka cluster using the CLI? Do you always have to look up the CLI commands and options? My Apache Kafka, CLI cheat sheet might be helpful for you! In this...