Registry / messaging / kafka-tools

kafka-tools

JSON →
library4.2.0javamavenunverified

Provides command-line tools and utilities for managing and operating Apache Kafka clusters.

<dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-tools</artifactId> <version>4.2.0</version> </dependency>
INSTALL
IMPORT
SIG · KAFKA-TOOLS
K
kafka-tools
messagingjavav4.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ConsoleProducer
kafka.tools.ConsoleProducer

Run the Kafka console producer to send messages to a topic.

import kafka.tools.ConsoleProducer; ConsoleProducer.main(new String[]{"--broker-list", "localhost:9092", "--topic", "test"});
Debug
Known issues
gotchaKafka 4.2.0 is a very recent version; ensure your client libraries are compatible.
fix
Use Kafka client version 4.2.0 or later for compatibility.
affects: 4.2.0
Upgrade
Version history
4.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
kafka-tools — mvn dependency:get kafka-tools · libregistry