Kafka data generator and load testing tool - generate fake messages, simulate producers and consumers, test broker failures, and run chaos engineering scenarios
Go apache-kafkaapache-sparkchaos-engineeringconsumer-lagdata-engineeringdata-generatordevopsdevops-toolsfake-datafault-injectionflinkkafkakafka-consumerkafka-data-generatorkafka-load-testingkafka-producerkafka-test-dataload-testingstream-processingstress-testing
docs: fix stale Python-era and Homebrew cross-reference cruft
aleksandarskrbicd1d03b08831b
diff --git a/.dockerignore b/.dockerignoreindex 73199d2..3638470 100644--- a/.dockerignore+++ b/.dockerignore@@ -1,12 +1,6 @@.git.github.idea-.venv-.mypy_cache-.pytest_cache-.ruff_cache-__pycache__-*.pycdistmanual_testingassetsdiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 1dd3f95..1195f0e 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -53,9 +53,8 @@ jobs:- uses: actions/setup-go@v5with:go-version: '1.26'- # See DECISIONS.md D8: hamba/avro is archived and has a reported unpatched CVE.- # This job is expected to flag it until that decision is settled, so it does not- # fail the build.+ # Reports vulnerabilities in required modules even when the code path that would+ # call them is unreachable, so it does not fail the build on its own.- name: govulncheckcontinue-on-error: truerun: |diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 65f2a0d..83ebd4a 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -36,5 +36,6 @@ jobs:env:# GITHUB_TOKEN is provided automatically by Actions. No other secret is needed:# binaries and checksums go to this repo's Releases, and the container image goes- # to ghcr.io using the same token. Homebrew is handled separately -- see RUNBOOK.md.+ # to ghcr.io using the same token. Homebrew is handled separately -- khaos is+ # already in homebrew-core, see .goreleaser.yaml.GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/.goreleaser.yaml b/.goreleaser.yamlindex 3d71348..28ab6c2 100644--- a/.goreleaser.yaml+++ b/.goreleaser.yaml@@ -77,4 +77,4 @@ docker_manifests:# khaos is already in homebrew-core as `khaos` (Formula/k/khaos.rb), built from Go source# (`depends_on "go" => :build`, no Python/PyPI/librdkafka), so `brew install khaos` works# today with no tap. Publishing a competing formula to a personal tap would give users two-# different `khaos` packages and is strictly worse. See RUNBOOK.md, "Homebrew".+# different `khaos` packages and is strictly worse.diff --git a/RUNBOOK.md b/RUNBOOK.mdindex 8977825..355dd82 100644--- a/RUNBOOK.md+++ b/RUNBOOK.md@@ -361,7 +361,7 @@ server {}EOF-docker run -d --rm --name sr-auth --network docker_kafka-net -p 8082:8082 \+docker run -d --rm --name sr-auth --network khaos_kafka-net -p 8082:8082 \-v /tmp/khaos-sr.conf:/etc/nginx/conf.d/default.conf:ro \-v /tmp/khaos-sr.htpasswd:/etc/nginx/htpasswd:ro \nginx:alpine@@ -455,10 +455,9 @@ docker ps # no kafka-* containersdocker volume ls # no khaos_* volumes either```-**Expect:** a `note: cluster-down always removes data volumes` line on stderr, then-`cluster stopped`. Schema Registry goes down with it if step 8 started it. `--volumes`/`-v`-is accepted for compatibility with the Python CLI but changes nothing — the volumes go-either way.+**Expect:** `Kafka cluster stopped`. Schema Registry goes down with it if step 8 started it.+Data volumes are kept by default; pass `--volumes`/`-v` to remove them too — though none of+the bundled compose files declare a volume, so `docker volume ls` shows nothing either way.## Step 12 — the container imagediff --git a/manual_testing/README.md b/manual_testing/README.mdindex 64fd37e..09409ec 100644--- a/manual_testing/README.md+++ b/manual_testing/README.md@@ -8,10 +8,7 @@ This folder helps you test the Schema Registry integration manually.```bash# From project root-uv run khaos cluster-up--# Start Schema Registry-docker-compose -f docker/docker-compose.schema-registry.kraft.yml up -d+./khaos cluster-up --schema-registry# Verify Schema Registry is runningcurl http://localhost:8081/subjects@@ -41,7 +38,7 @@ curl http://localhost:8081/subjects/orders-value/versions/latest | jq```bash# Use the built-in registry-provider scenario-uv run khaos run serialization/registry-provider --duration 30+./khaos run serialization/registry-provider --duration 30```## Files@@ -64,6 +61,5 @@ uv run khaos run serialization/registry-provider --duration 30## Cleanup```bash-docker-compose -f docker/docker-compose.schema-registry.kraft.yml down-uv run khaos cluster-down+./khaos cluster-down```