What is the significance of the replication.factor setting in topic configuration?
replication.factor
Sets the compression algorithm for messages.
Configures the message delivery semantics (at-least-once, at-most-once).
Specifies the maximum message size allowed in the topic.
Determines the number of brokers where topic data is replicated.
Where is the Kafka data directory configured?
In the topic.properties file, using the data.dir property.
topic.properties
data.dir
In the ZooKeeper configuration, using the kafka.data.path property.
kafka.data.path
It's configured automatically based on the operating system.
In the server.properties file, using the log.dirs property.
server.properties
log.dirs
Which of the following is NOT a responsibility of a Kafka Consumer?
Track message consumption progress
Read messages from topics
Publish messages to topics
Subscribe to topics
Which configuration file is used to set up Kafka brokers?
broker.config
zookeeper.properties
kafka.properties
Which command would you use to list all existing topics in a Kafka cluster?
kafka-console-consumer.sh --list
kafka-configs.sh --list
kafka-topics.sh --list
kafka-topics.sh --describe
Which configuration parameter controls the data retention period for messages in a topic?
log.retention.hours
retention.ms
message.ttl
data.expiration
What is the role of the zookeeper.connect property in Kafka configuration?
zookeeper.connect
Configures the replication factor for topics.
Sets the data retention period for messages.
Defines the compression codec for messages.
Specifies the ZooKeeper quorum for Kafka to connect to.
What is the role of ZooKeeper in a Kafka cluster?
Performing data aggregation
Managing and coordinating Kafka brokers
Storing message data
Consuming messages from topics
What does a message value in Kafka typically contain?
The message's unique identifier
The actual data or payload being transmitted
Information for routing the message
Metadata about the message
Which Kafka CLI tool is used to produce messages to a Kafka topic?
kafka-console-consumer.sh
kafka-console-producer.sh
kafka-configs.sh
kafka-topics.sh