Skip to content

Instantly share code, notes, and snippets.

# Pull the necessary images:
docker pull nathanleclaire/curl:latest
docker pull openjdk:8u111-jre-alpine

# Start the controller container, note that it has RW access to the Docker API socket:
docker run \
  -ti \
  --rm \
@abhayprakashtiwari
abhayprakashtiwari / kafka-cheat-sheet.md
Created February 10, 2020 18:42 — forked from sahilsk/kafka-cheat-sheet.md
Apache Kafka Cheat Sheet

Kafka Cheat Sheet

Display Topic Information

$ kafka-topics.sh --describe --zookeeper localhost:2181 --topic beacon
Topic:beacon	PartitionCount:6	ReplicationFactor:1	Configs:
	Topic: beacon	Partition: 0	Leader: 1	Replicas: 1	Isr: 1
	Topic: beacon	Partition: 1	Leader: 1	Replicas: 1	Isr: 1

Keybase proof

I hereby claim:

  • I am abhayprakashtiwari on github.
  • I am aptlyapt (https://keybase.io/aptlyapt) on keybase.
  • I have a public key whose fingerprint is 2C47 6F51 843B 225D 03F3 CF95 4735 EEAE AEC0 F652

To claim this, I am signing this object: