To get started, make a new directory anywhere you’d like for this project:
mkdir kafka-on-the-shore && cd kafka-on-the-shore
Next, create the following docker-compose.yml
file to obtain Confluent Platform and launch it by running:
# -d: Detached mode, run containers in th background
docker-compose up -d
After you finish, kill all running containers with
docker kill $(docker ps -q)
Delete all containers that are not running.
docker container rm $(docker ps -a -q)