Skip to content

Commit 3459d30

Browse files
committed
With automatic topic creation disabled (#3) we can also disable topic deletion
1 parent d3dbb6b commit 3459d30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker-kafka-persistent/config/server.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@
2020
# The id of the broker. This must be set to a unique integer for each broker.
2121
broker.id=0
2222

23+
# Use https://github.com/Yolean/kafka-topic-client instead
24+
auto.create.topics.enable=false
25+
2326
# Switch to enable topic deletion or not, default value is false
24-
#delete.topic.enable=true
27+
delete.topic.enable=false
2528

2629
############################# Socket Server Settings #############################
2730

0 commit comments

Comments
 (0)