docker compose up -d
switch to container shell
docker exec -it kafka bash
run
kafka-topics --create --topic test.events --bootstrap-server kafka:29092 --partitions 4 --replication-factor 1
docker compose up -d
switch to container shell
docker exec -it kafka bash
run
kafka-topics --create --topic test.events --bootstrap-server kafka:29092 --partitions 4 --replication-factor 1