Skip to content

Commit

Permalink
Disable auto create topic/registry schema
Browse files Browse the repository at this point in the history
  • Loading branch information
parisni committed Sep 8, 2023
1 parent f38d201 commit d46be93
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ public Properties toProps() {
Properties prop = new Properties();
prop.setProperty("key.serializer", KEY_SERIALIZER);
prop.setProperty("value.serializer", VALUE_SERIALIZER);
prop.setProperty("auto.create.topics.enable", "true");
prop.setProperty("use.latest.version", "true");
prop.setProperty("auto.register.schemas", "false");
// mandatory
prop.setProperty("bootstrap.servers", bootstrapServers);
prop.setProperty("topic.name", topicName);
Expand Down

0 comments on commit d46be93

Please sign in to comment.