# 使用 Homebrew 安装 khaos

查看 khaos 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:khaos
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install khaos
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:khaos
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/khaos>
- **版本:** 0.7.1
- **来源摘要:** Kafka traffic simulator for observability and chaos engineering
- **主页:** <https://github.com/aleksandarskrbic/khaos>
- **仓库:** <https://github.com/aleksandarskrbic/khaos>
- **上游文档:** <https://github.com/aleksandarskrbic/khaos#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://files.pythonhosted.org/packages/7f/0c/932228842cb6c0357fa4f41c5e68afaf3b41b7698f0794af300533594432/khaos_cli-0.7.1.tar.gz>
- **最后更新:** 2026-06-27T10:27:00Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- khaos (cli)
- khaos (别名)

## 依赖

- certifi
- cryptography
- librdkafka
- libyaml
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.7.1
- 管理器更新时间: 2026-06-27
- 本地数据: OK
- 上游仓库: https://github.com/aleksandarskrbic/khaos
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

khaos is a young Kafka data generator, load-testing, and chaos-engineering CLI. It uses YAML scenarios to generate synthetic traffic, simulate producers and consumers, and exercise Kafka cluster failure modes.

### 项目历史

The upstream changelog records version 0.1.0 on December 23, 2025 as the initial release, with configurable producers and consumers, YAML scenarios, correlated event flows, Faker-backed data generation, Docker Compose integration, authentication support, live stats, prebuilt scenarios, and CLI commands for running, simulating, validating, listing, and managing clusters.

Rapid follow-up releases in December 2025 added Avro, Protobuf, Schema Registry support, scenario categories, custom scenario files, Docker support, and internal refactoring. Version 0.7.0 on January 2, 2026 added consumer failure simulation, duplicate message simulation, dead-letter queue support, and new testing scenarios.

### 采用历史

The repository and Homebrew formula show early package-manager adoption for macOS and Linux users, but evidence of broad ecosystem uptake is still limited. Its adoption story is best understood as an emerging Kafka testing utility rather than a mature infrastructure standard.

### 使用方式

Users run bundled or custom YAML scenarios against a local Docker-managed Kafka cluster or an external cluster. The README documents traffic generation, load testing, producer and consumer simulation, stream-processing test data, chaos scenarios, monitoring validation, authentication, and serialization formats.

### 为什么软件包爱好者会关心

khaos is notable because it packages a hands-on Kafka lab into one CLI: local KRaft or ZooKeeper clusters, scenario files, schema formats, synthetic data, and failure simulation are exposed as installable commands instead of ad hoc producer scripts.

### 时间线

- 2025-12-23: khaos 0.1.0 initial release.
- 2025-12-25: versions 0.2.0 through 0.4.0 added Avro, Protobuf, Schema Registry, and scenario categories.
- 2025-12-27: version 0.5.0 added custom scenario files and Docker support.
- 2026-01-02: version 0.7.0 added consumer failure, duplicate-message, and DLQ simulations.
- 2026-01-05: version 0.7.1 fixed external-cluster authentication and managed-cluster retention behavior.

### Related projects

- khaos sits near Apache Kafka, Kafka UI, Schema Registry, Apache Flink, Spark Streaming, Kafka Streams, Docker Compose, and Faker-backed synthetic data generators.

### 来源

- <https://formulae.brew.sh/formula/khaos>
- <https://github.com/aleksandarskrbic/khaos>
- <https://raw.githubusercontent.com/aleksandarskrbic/khaos/main/CHANGELOG.md>


## 安全说明

没有找到 khaos 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./my-scenario.yaml, /path/to/custom-scenario.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** khaos
- **Version Scheme:** 0
- **Revision:** 8
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [artillery](https://www.automicvault.com/zh-hans/pkg/brew/artillery/) - Shares av.db curated category or tags: cli, developer-tools, load-testing, observability, testing.
- [bzt](https://www.automicvault.com/zh-hans/pkg/brew/bzt/) - Shares av.db curated category or tags: cli, developer-tools, load-testing, testing.
- [gor](https://www.automicvault.com/zh-hans/pkg/brew/gor/) - Shares av.db curated category or tags: cli, developer-tools, load-testing, testing.
- [k6](https://www.automicvault.com/zh-hans/pkg/brew/k6/) - Shares av.db curated category or tags: cli, developer-tools, load-testing, testing.
- [locust](https://www.automicvault.com/zh-hans/pkg/brew/locust/) - Shares av.db curated category or tags: cli, developer-tools, load-testing, testing.
- [pumba](https://www.automicvault.com/zh-hans/pkg/brew/pumba/) - Shares av.db curated category or tags: chaos-engineering, cli, developer-tools, testing.
- [siege](https://www.automicvault.com/zh-hans/pkg/brew/siege/) - Shares av.db curated category or tags: cli, developer-tools, load-testing, testing.
- [allure](https://www.automicvault.com/zh-hans/pkg/brew/allure/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [mongo-orchestration](https://www.automicvault.com/zh-hans/pkg/brew/mongo-orchestration/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, developer, developer-tools, python.
- [touca](https://www.automicvault.com/zh-hans/pkg/brew/touca/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, developer, developer-tools, python.

## Combined YAML source

View the package source record on GitHub. [combined/khaos.yml](https://github.com/automic-vault/db/blob/main/combined/khaos.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
