Skip to content

Commit 3c11c9f

Browse files
committed
Sets a log dir that is more likely to be persistent. Makes retention=-1 more meaningful.
1 parent a55b9c8 commit 3c11c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-kafka-persistent/config/server.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ socket.request.max.bytes=104857600
6060
############################# Log Basics #############################
6161

6262
# A comma seperated list of directories under which to store log files
63-
log.dirs=/tmp/kafka-logs
63+
log.dirs=/opt/kafka/data
6464

6565
# The default number of log partitions per topic. More partitions allow greater
6666
# parallelism for consumption, but this will also result in more files across

0 commit comments

Comments
 (0)