--- title: "Consuming Data From the Stream Program-controlled" slug: "consuming-data-from-the-stream-program-controlled" status: "new" updated: 2024-09-26T14:11:33Z published: 2024-09-26T14:11:33Z canonical: "docs.mapp.com/consuming-data-from-the-stream-program-controlled" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Consuming Data From the Stream Program-controlled 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 - [https://kafka.apache.org/documentation/#consumerapi](https://kafka.apache.org/documentation/#consumerapi). #### Kafka Streams API - [https://kafka.apache.org/documentation/#streamsapi](https://kafka.apache.org/documentation/#streamsapi). Follow these steps: [Set Up the JAAS Configuration](/v1/docs/set-up-the-jaas-configuration) [Consume Data through the Kafka Consumer API](/v1/docs/consume-data-through-the-kafka-consumer-api) [Consume Data through the Kafka Stream API](/v1/docs/consume-data-through-the-kafka-stream-api) [Consume Data with Python](/v1/docs/consume-data-with-python)