In this section, you will learn how to consume data from the stream program-controlled. If you chose to consume data by setting up an application, Kafka provides two main libraries for this:
Kafka Plain Consumer API
Kafka Streams API
Follow these steps: