If I produce to a topic that does not exist, and the broker setting auto.create.topic.enable=true, what will happen?

If I produce to a topic that does not exist, and the broker setting auto.create.topic.enable=true, what will happen?
A . Kafka will automatically create the topic with 1 partition and 1 replication factor
B . Kafka will automatically create the topic with the indicated producer settings num.partitions and default.replication.factor
C . Kafka will automatically create the topic with the broker settings num.partitions and default.replication.factor
D . Kafka will automatically create the topic with num.partitions=#of brokers and replication.factor=3

Answer: C

Explanation:

The broker settings comes into play when a topic is auto created

Latest CCDAK Dumps Valid Version with 150 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments