From 720b950e3c1efa8d7cbe1683eab9503c45ee1569 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 2 Nov 2024 18:37:31 +0100 Subject: [PATCH] Effekte des Log-Compaction in dem Topic `state` sichtbar gemacht --- docker/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 34c2c5b..4603a26 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -164,6 +164,8 @@ services: --replication-factor 3 \ --config min.insync.replicas=2 \ --config cleanup.policy=compact \ + --config segment.ms=3000 \ + --config max.compaction.lag.ms=5000 \ && echo Das Topic \'state\' wurde erfolgreich angelegt: \ && kafka-topics --bootstrap-server kafka:9092 --describe --topic state \ && \ -- 2.20.1