nerdexam
Confluent

CCDAK · Question #127

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

The correct answer is C. Kafka will automatically create the topic with the broker settings num.partitions and. The broker settings comes into play when a topic is auto created.

Deployment and Troubleshooting

Question

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

Options

  • AKafka will automatically create the topic with 1 partition and 1 replication factor
  • BKafka will automatically create the topic with the indicated producer settings num.partitions and
  • CKafka will automatically create the topic with the broker settings num.partitions and
  • DKafka will automatically create the topic with num.partitions=#of brokers and replication.factor=3

How the community answered

(28 responses)
  • B
    4% (1)
  • C
    93% (26)
  • D
    4% (1)

Explanation

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

Topics

#auto.create.topics.enable#broker configuration#num.partitions#default.replication.factor

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice