scripts/create_topics.py · chapter Replaying the data, file 2 · 32 lines · open in the repository
What it does
Create the Kafka topic the project streams through. Run on the course cluster: python3 scripts/create_topics.py Run against a local Kafka: python3 scripts/create_topics.py —bootstrap localhost:9092 The cluster is shared by the whole class, so our topic name starts with the project name to avoid clashing with other groups.Connections
Uses:src/common/contracts.py, src/common/settings.py
Source
scripts/create_topics.py