From 4b3796ab02e22885cf8344f62b35547a204034db Mon Sep 17 00:00:00 2001 From: Gianluca Date: Mon, 29 Jul 2024 16:14:02 +0200 Subject: [PATCH] Fix configuration for topic creation in the Airport demo --- examples/airport-demo/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/airport-demo/README.md b/examples/airport-demo/README.md index 5f69e4a7..32ddedf9 100644 --- a/examples/airport-demo/README.md +++ b/examples/airport-demo/README.md @@ -101,7 +101,12 @@ To configure our `Flights` topic to be managed in a compacted manner, the follow 2. create the topic with the following configurations: ```sh - $ ./bin/kafka-topics.sh --create --topic Flights --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --config cleanup.policy=compact + $ ./bin/kafka-topics.sh --bootstrap-server localhost:9092 --create --topic Flights \ + --replication-factor 1 \ + --partitions 1 \ + --config cleanup.policy=compact \ + --config segment.ms=30000 + $ ./bin/kafka-configs.sh --bootstrap-server localhost:9092 --entity-type topics --entity-name Flights --describe ```