Run the cluster:
docker compose up -d
Stop the container and remove volume:
docker compose down -v
Create a topic:
kafka-topics --create --bootstrap-server localhost:19093 \
--replication-factor 3 \
--partitions 3 \
--topic test
Delete a topic:
kafka-topics --delete --bootstrap-server localhost:19093 \
--topic test
List topics:
kafka-topics --bootstrap-server localhost:19093 --list
List Groups:
kafka-consumer-groups --bootstrap-server localhost:19093 --list
Delete group:
kafka-consumer-groups --bootstrap-server localhost:19093 --delete --group test