A

Admin • 832.27K Points
Coach

Q. What happens if a Kafka topic does not exist when a producer tries to send data?

  • (A) Producer shuts down
  • (B) Kafka throws an exception
  • (C) Kafka auto-creates the topic (if configured)
  • (D) Message is sent to a default topic
  • Correct Answer - Option(C)
  • Views: 14
  • Filed under category Apache Kafka
  • Hashtags:

Explanation by: Admin

If auto topic creation is enabled, Kafka will create the topic automatically.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.