Reputation: 59
When I try to change the config auto.create.topic.enable to false and then i try to produce some message to a topic which does not exist.
It gives me the error that this topic is not available but it still creates a topic and sends the data to that topic.
We can later consume the data also from that topic? So what is the significance of this config(auto.create.topic.enable) if setting it to false also letting the producer create a new topic?
Upvotes: 1
Views: 973
Reputation: 10075
What Kafka version are you using ? the broker should not create the topic if auto.create.topic.enable
is set to false.
Upvotes: 2