Skip to content

Commit

Permalink
Fix configuration for topic creation in the Airport demo
Browse files Browse the repository at this point in the history
  • Loading branch information
gfinocchiaro committed Jul 29, 2024
1 parent 658837d commit 4b3796a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/airport-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 4b3796a

Please sign in to comment.