- Download the Kafka https://kafka.apache.org/downloads .
- Get Zookeeper and Kafka up and running https://kafka.apache.org/quickstart.
or
- Install docker and download the kafka image and run the image.
- Using the maven command. mvn spring-boot:run.
- Stop the application Ctrl + c.