Containerized environment to interact, manage and administer Kafka cluster.
353
Portable containerized workspace to interact with Kafka clusters.
docker run --name rwid-1 -d -p 8020-8040:8020-8040 --restart=always alnoda/kafka-workspace
open localhost:8020 in browser.
Kafka CLI tools
Kafka distribution itself contains command line tools that allow to create topics, send and consume events, etc. Open workspace terminal http://localhost:8026/ and go to Kafka directory
cd /home/abc/kafka
bin/kafka-topics.sh --create --partitions 1 --replication-factor 1 --topic quickstart-events --bootstrap-server localhost:9092
bin/kafka-console-producer.sh --topic quickstart-events --bootstrap-server localhost:9092
bin/kafka-console-consumer.sh --topic quickstart-events --from-beginning --bootstrap-server localhost:9092
Kafka tool that likes JSON.
Configure brokers, topic, Kafka version and authentication via environment variables KT_BROKERS, KT_TOPIC, KT_KAFKA_VERSION and KT_AUTH.
export KT_TOPIC="quickstart-events"
kt topic
kt group
kt consume
echo 'Bob wins Oscar' | kt produce -topic quickstart-events -literal
A command-line interface for interaction with Apache Kafka.
kafkactl consume quickstart-events --from-beginning
kafkactl consume quickstart-events --from-beginning --print-keys --print-timestamps -o yaml
Generic non-JVM producer and consumer for Apache Kafka.
kafkacat -b localhost -t quickstart-events
echo "Hello World" | kafkacat -b localhost -t quickstart-events
Kafka read only command line browser
Launch kcli in the Workspace terminal
kcli
Kafka CLI tool built in Go which gives you everything you need.
trubka consume plain quickstart-events --brokers localhost:9092
trubka produce plain quickstart-events "Random Data" --brokers localhost:9092
Content type
Image
Digest
sha256:bf5879b3d…
Size
985.2 MB
Last updated
over 2 years ago
Requires Docker Desktop 4.37.1 or later.