springboot-kotlin-kafka demo project using springboot kotlin kafka Docker Compose docker-compose up -d Before Starting Application in local-windows machine Edit c:\Windows\System32\drivers\etc\hosts file Add the following lines 127.0.0.1 kafka1 127.0.0.1 kafka2 127.0.0.1 kafka3 Kafka Producer kafka-producer folder Kafka Consumer kafka-consumer folder