Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
khaos
command
Command khaos generates Kafka traffic and simulates failure scenarios.
|
Command khaos generates Kafka traffic and simulates failure scenarios. |
|
internal
|
|
|
codec
Package codec turns generated message documents into Kafka record bytes and back, for the four wire shapes khaos supports: JSON, Avro (inline schema or Schema Registry) and Protobuf (inline schema or Schema Registry).
|
Package codec turns generated message documents into Kafka record bytes and back, for the four wire shapes khaos supports: JSON, Avro (inline schema or Schema Registry) and Protobuf (inline schema or Schema Registry). |
|
generate
Package generate builds the message payloads khaos produces: single field values, whole documents from a `fields:` schema, synthetic size-padded JSON when no schema is given, Kafka keys, and correlated multi-step flow messages.
|
Package generate builds the message payloads khaos produces: single field values, whole documents from a `fields:` schema, synthetic size-padded JSON when no schema is given, Kafka keys, and correlated multi-step flow messages. |
|
kafka
Package kafka builds the franz-go clients khaos runs its traffic through, and the admin helpers that prepare the topics those clients use.
|
Package kafka builds the franz-go clients khaos runs its traffic through, and the admin helpers that prepare the topics those clients use. |
|
localcluster
Package localcluster manages the bundled single-host Kafka cluster that khaos uses for local runs, by driving the docker CLI against embedded compose files.
|
Package localcluster manages the bundled single-host Kafka cluster that khaos uses for local runs, by driving the docker CLI against embedded compose files. |
|
scenario
Package scenario holds the khaos scenario domain model together with the YAML decoding and validation that produces it.
|
Package scenario holds the khaos scenario domain model together with the YAML decoding and validation that produces it. |
|
telemetry
Package telemetry provides khaos's structured logger, its Prometheus metric set and the small HTTP server that exposes /healthz and /metrics.
|
Package telemetry provides khaos's structured logger, its Prometheus metric set and the small HTTP server that exposes /healthz and /metrics. |
|
theme
Package theme is the one palette every khaos surface draws from: cyan for names, green for produced, yellow for consumed, magenta for failures, blue for DLQ.
|
Package theme is the one palette every khaos surface draws from: cyan for names, green for produced, yellow for consumed, magenta for failures, blue for DLQ. |
|
tui
Package tui renders live run state in the terminal.
|
Package tui renders live run state in the terminal. |
Click to show internal directories.
Click to hide internal directories.