Libraries for managing our Kafka clusters/consumers, as well as Taskbroker.
make install-devto install the development environmentmake teststo run the unit testsmake typecheckto run Python type checkingmake lintto lint the code base and apply auto generated changesmake buildto build the wheels for the project and package the release
devservices upto spin up a local kafka nodedocker exec kafka-kafka-1 kafka-topics --bootstrap-server localhost:9092 --topic test-topic --createto create a test topic for the cluster- TODO: find a way to auto-create a test topic on the local kafka
Build the image:
docker build -t sentry-kafka-management:local .Show CLI help (router):
docker run --rm sentry-kafka-management:local --helpRun a script against your local devservices kafka via the unified CLI router:
docker run --rm \
-v "$PWD/devservices/kafka-conf:/config" \
--network "devservices" \
sentry-kafka-management:local \
list-topics \
-c /config/local.yml \
-n <cluster-name>