Skip to main content

Libraries used by Sentry for kafka management

Project description

sentry-kafka-management

Libraries for managing our Kafka clusters/consumers, as well as Taskbroker.

Usage

  • make install-dev to install the development environment
  • make tests to run the unit tests
  • make typecheck to run Python type checking
  • make lint to lint the code base and apply auto generated changes
  • make build to build the wheels for the project and package the release

Local kafka

  • devservices up to spin up a local kafka node
  • docker exec kafka-kafka-1 kafka-topics --bootstrap-server localhost:9092 --topic test-topic --create to create a test topic for the cluster
    • TODO: find a way to auto-create a test topic on the local kafka

Docker

Build the image:

docker build -t sentry-kafka-management:local .

Show CLI help (router):

docker run --rm sentry-kafka-management:local --help

Run 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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentry_kafka_management-0.1.7-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file sentry_kafka_management-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for sentry_kafka_management-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6e589dd4fe4cc600a9ea598079145689f0a7cb07b826aa9057a5cd2856d01533
MD5 4c680fff7728f8de265d5e03daafe5f3
BLAKE2b-256 9cda2b23feeafbc626d9baa1f3c9afaf3b7ed0ae3999f99e5c6e43eaba72c7f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page