#Kafka should be installed in your local if not then install it from here https://www.apache.org/dyn/closer.cgi?path=/kafka/3.2.0/kafka_2.13-3.2.0.tgz
#After downloading follow the steps to run kafka local https://kafka.apache.org/quickstart
Start Kafka and Zookeeper from your local with following command given in above instruction
Run your Application
Open postman to hit the API.
API url is in controller package
http://localhost:8080/kafka/producesMessage
localhost:8080/kafka/user
After you hit the API your request will be generated and you can see your response 200 ok in postman your data will be consumed in your console