What is the significance of the replication.factor setting in topic configuration?
replication.factor
Specifies the maximum message size allowed in the topic.
Sets the compression algorithm for messages.
Configures the message delivery semantics (at-least-once, at-most-once).
Determines the number of brokers where topic data is replicated.
How are messages within a Kafka topic further divided for scalability and parallelism?
Segments
Offsets
Partitions
Clusters
Where is the Kafka data directory configured?
In the ZooKeeper configuration, using the kafka.data.path property.
kafka.data.path
In the topic.properties file, using the data.dir property.
topic.properties
data.dir
In the server.properties file, using the log.dirs property.
server.properties
log.dirs
It's configured automatically based on the operating system.
Which command would you use to list all existing topics in a Kafka cluster?
kafka-topics.sh --list
kafka-console-consumer.sh --list
kafka-topics.sh --describe
kafka-configs.sh --list
What is a 'Partition' in the context of Kafka topics?
A logical grouping of messages within a topic for parallel processing.
A security mechanism to control access to specific topics.
A separate copy of the entire topic data for redundancy.
A configuration setting that determines message retention time.
To view the configuration details of a specific topic, which command would you use?
kafka-topics.sh --describe --topic <topic-name>
kafka-topics.sh --list --topic <topic-name>
kafka-configs.sh --describe --topic <topic-name>
kafka-console-consumer.sh --describe --topic <topic-name>
What command line option for kafka-topics.sh is used to specify the replication factor for a new topic?
kafka-topics.sh
--topic
--replication-factor
--zookeeper
--partitions
Which configuration parameter determines the number of partitions a topic will have?
partition.count
topic.partitions
num.partitions
Which of these is NOT a valid configuration parameter when creating a Kafka topic?
retention.ms
message-size
replication-factor
partitions
Which configuration file is used to set up Kafka brokers?
broker.config
kafka.properties
zookeeper.properties