If I produce to a topic that does not exist, and the broker setting auto.create.topic.enable=true, what will happen?
- Kafka will automatically create the topic with 1 partition and 1 replication factor
- Kafka will automatically create the topic with the indicated producer settings num.partitions and default.replication.factor
- Kafka will automatically create the topic with the broker settings num.partitions and default.replication.factor
- Kafka will automatically create the topic with num.partitions=#of brokers and replication.factor=3
Answer(s): C
Explanation:
The broker settings comes into play when a topic is auto created
Reveal Solution Next Question