Using Producer and Consumer APIs - Scala


#1

Originally published at: https://kaizen.itversity.com/lessons/using-producer-and-consumer-apis-scala/

As part of this topic we will see how we can produce and consume messages using Scala. Understand producer as well as consumer APIs Create new project with KafkaWorkshop Define dependencies in build.sbt Create application.properties for passing zookeeper and kafka broker information Use producer API to publish messages to Kafka topic Use consumer API to…