Complete the code to create a Kafka topic named 'orders'.
bin/kafka-topics.sh --create --topic [1] --bootstrap-server localhost:9092
The topic name 'orders' is used to create the Kafka topic where order messages will be sent.
Complete the code to produce a message 'Hello Kafka' to the 'orders' topic.
echo 'Hello Kafka' | bin/kafka-console-producer.sh --topic orders --bootstrap-server [1]
The Kafka broker runs on localhost at port 9092 by default, so this is the correct address.
Fix the error in the consumer command to read messages from the 'orders' topic.
bin/kafka-console-consumer.sh --topic orders --bootstrap-server [1] --from-beginning
The consumer connects to the Kafka broker at localhost:9092, not to Zookeeper.
Fill both blanks to explain why Kafka exists: Kafka is designed for {{BLANK_1}} and {{BLANK_2}} of data streams.
Kafka is designed for [1] and [2] of data streams.
Kafka exists to handle data streams with high throughput and low latency, making it fast and scalable.
Fill all three blanks to complete the sentence: Kafka provides {{BLANK_1}} storage, {{BLANK_2}} processing, and {{BLANK_3}} scalability.
Kafka provides [1] storage, [2] processing, and [3] scalability.
Kafka stores data durably, processes it in real-time, and scales horizontally across servers.