Home » Microsoft » 70-475 v.2 » Which component should you use to consume data emitted from Kafka?
You have an Apache Storm cluster.
You need to ingest data from a Kafka queue.
Which component should you use to consume data emitted from Kafka?
A. a bolt
B. a Microsoft Azure Service Bus queue
C. a spout
D. Flume
Correct Answer: C
Explanation/Reference:
To perform real-time computation on Storm, we create "topologies." A topology is a graph of a computation, containing a network of nodes called "Spouts" and "Bolts." In a Storm topology, a Spout is the source of data streams and a Bolt holds the business logic for analyzing and processing those streams.
The org.apache.storm.kafka.KafkaSpout component reads data from Kafka.
Example:
References: https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-apache-storm-with-kafka https://hortonworks.com/blog/storm-kafka-together-real-timedata- refinery/