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 APIhttps://kafka.apache.org/documentation/#consumerapi.Kafka Streams APIhttps://kafka.apache.org/documentation/#streamsapi.Follow these steps:Set Up the JAAS ConfigurationConsume Data through the Kafka Consumer APIConsume Data through the Kafka Stream APIConsume Data with Python