- start Docker Desktop
- run docker-compose up from root folder
- start kafka-producer application with "mvn spring-boot:run"
- send a post request using postman to the following URL
http://localhost:9010/kafka/createUser?userId=1&firstName=Lokesh&lastName=Gupta
- Start kafka-consumer application with "mvn spring-boot:run > consumer.log". Open log file and search for "received ->"