Using Producer and Consumer APIs - Scala


Originally published at:

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 for passing zookeeper and kafka broker information Use producer API to publish messages to Kafka topic Use consumer API to…