How to create a Kafka producer in Java
In this post, I will show you how to produce messages to Kafka from Java using the kafka-clients library. It takes less than 5 minutes and around 10 lines of code. Don't believe me? Keep reading. Running a Kafka cluster…