Skip to main content

Building a Kafka Producer in Java

Hands-On Lab


Photo of

Training Architect





Kafka producers allow you to write data to Kafka topics easily. Since you can build your own producers, you will be capable of developing logic to handle messages in ways that serve a variety of use cases. In this lab, you will have the opportunity to work with your own Kafka producer written in Java. You will solve a particular use case by building your producer logic — writing messages to multiple Kafka topics. This will give you some hands-on experience with building your own Kafka producers in Java.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.