Automic VaultAutomic Vault

brew

使用 Homebrew, pacman, scoop, zypper 安装 kafka

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kafka

local Homebrew formula metadata

Windows

Scoop已验证 · 92%
scoop install main/kafka

Scoop official bucket manifest trees · bucket/kafka.json · 来源: api.github.com

概览

软件包摘要

Open-source distributed event streaming platform

命令和别名

  • connect-distributed
  • connect-mirror-maker
  • connect-plugin-path
  • connect-standalone
  • kafka-acls
  • kafka-broker-api-versions
  • kafka-client-metrics
  • kafka-cluster
  • kafka-configs
  • kafka-console-consumer
  • kafka-console-producer
  • kafka-console-share-consumer
  • kafka-consumer-groups
  • kafka-consumer-perf-test
  • kafka-delegation-tokens
  • kafka-delete-records
  • kafka-dump-log
  • kafka-e2e-latency
  • kafka-features
  • kafka-get-offsets
  • kafka-groups
  • kafka-jmx
  • kafka-leader-election
  • kafka-log-dirs
  • kafka-metadata-quorum
  • kafka-metadata-shell
  • kafka-producer-perf-test
  • kafka-reassign-partitions
  • kafka-replica-verification
  • kafka-run-class
  • kafka-server-start
  • kafka-server-stop

历史

项目历史与用法

Apache Kafka is a distributed event-streaming platform that began at LinkedIn and became a major Apache Software Foundation data project. It is both a server platform and a package that installs a large family of command-line tools for brokers, topics, consumers, producers, Connect, Streams, storage, metadata, and operations.

项目历史

LinkedIn announced Kafka publicly on June 16, 2011 as a distributed publish-subscribe messaging system, open sourced under the Apache 2.0 license and submitted to the Apache Incubator. The announcement described Kafka as a system for high-throughput event data and noted that a paper had appeared at NetDB 2011.

The Apache GitHub repository was created in August 2011. Kafka graduated from the Apache Incubator on October 23, 2012, and Apache project records identify the Kafka committee as established in November 2012.

Over time Kafka expanded beyond a broker and client protocol into a broader event-streaming platform. Kafka Connect, Kafka Streams, MirrorMaker, security features, storage tooling, metadata tooling, and the Kafka Improvement Proposal process all became part of the operational and governance surface around the package.

采用历史

Kafka's adoption followed from its original LinkedIn use case: durable, high-throughput movement of event data between many producers and consumers. Its Apache governance and Java/Scala ecosystem helped it become a common foundation for streaming analytics, log aggregation, change-data capture, event-driven services, and data pipelines.

Package-manager adoption reflects two overlapping audiences. Developers install Kafka locally to run brokers and command scripts for development, while operators use the same scripts to inspect and administer clusters. Homebrew, Scoop, Pacman, and other package entries expose Kafka as a developer workstation dependency as much as a server component.

使用方式

The Homebrew package installs many command-line entry points, including kafka-topics, kafka-console-producer, kafka-console-consumer, kafka-consumer-groups, kafka-configs, kafka-server-start, kafka-storage, and Kafka Connect scripts. That makes it both a runnable local broker distribution and a CLI toolbox.

Kafka is used when systems need durable ordered logs, consumer groups, replayable event streams, and integration points between services and data systems. The official documentation and quickstart center the core loop: start a broker, create topics, write events, read events, and build producers, consumers, Streams, or Connect workloads.

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

Apache Kafka is significant in package databases because one formula exposes an entire infrastructure platform plus dozens of command shims. It is a good stress test for package metadata: executable lists are long, config files are distribution-relative, and the package name refers to a server, protocol ecosystem, and CLI family at once.

It is also historically important because many later packages in this batch exist to make Kafka easier to operate: kaf and kafkactl provide friendlier CLIs, while cloud-specific plugins exist because managed Kafka-compatible services introduced authentication and provider-specific edge cases.

时间线

  • 2011-06-16: LinkedIn announced Kafka as an open-source distributed publish-subscribe messaging system.
  • 2011-08: Apache Kafka GitHub repository created.
  • 2012-10-23: Kafka graduated from the Apache Incubator.
  • 2012-11: Apache Kafka committee established.
  • 2015 onward: Kafka's ecosystem expanded around Streams, Connect, managed services, and Kafka Improvement Proposals.

Related projects

  • Kafka's close project family includes Kafka Connect, Kafka Streams, MirrorMaker, Schema Registry implementations, kcat, kaf, kafkactl, Apache Flink, Apache Pulsar, and managed Kafka-compatible services such as Amazon MSK, Confluent Cloud, and Azure Event Hubs for Kafka clients.

安全态势

风险级别:orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service
  • generalized runtime or code generation signal
  • infrastructure mutation or orchestration signal

信号

  • metadata:service
  • text:cluster
  • text:shell,repl
  • text:stream,record,client,server

安装行为

  • Homebrew 为此 formula 声明了 post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
config/server.properties

可执行文件

已安装的可执行文件

命令类型暴露范围备注
connect-distributedcli全局可执行文件
connect-mirror-makercli全局可执行文件
connect-plugin-pathcli全局可执行文件
connect-standalonecli全局可执行文件
kafka-aclscli全局可执行文件
kafka-broker-api-versionscli全局可执行文件
kafka-client-metricscli全局可执行文件
kafka-clustercli全局可执行文件
kafka-configscli全局可执行文件
kafka-console-consumercli全局可执行文件
kafka-console-producercli全局可执行文件
kafka-console-share-consumercli全局可执行文件
kafka-consumer-groupscli全局可执行文件
kafka-consumer-perf-testcli全局可执行文件
kafka-delegation-tokenscli全局可执行文件
kafka-delete-recordscli全局可执行文件
kafka-dump-logcli全局可执行文件
kafka-e2e-latencycli全局可执行文件
kafka-featurescli全局可执行文件
kafka-get-offsetscli全局可执行文件
kafka-groupscli全局可执行文件
kafka-jmxcli全局可执行文件
kafka-leader-electioncli全局可执行文件
kafka-log-dirscli全局可执行文件
kafka-metadata-quorumcli全局可执行文件
kafka-metadata-shellcli全局可执行文件
kafka-producer-perf-testcli全局可执行文件
kafka-reassign-partitionscli全局可执行文件
kafka-replica-verificationcli全局可执行文件
kafka-run-classcli全局可执行文件
kafka-server-startcli全局可执行文件
kafka-server-stopcli全局可执行文件
kafka-share-consumer-perf-testcli全局可执行文件
kafka-share-groupscli全局可执行文件
kafka-storagecli全局可执行文件
kafka-streams-application-resetcli全局可执行文件
kafka-streams-groupscli全局可执行文件
kafka-topicscli全局可执行文件
kafka-transactionscli全局可执行文件
kafka-verifiable-consumercli全局可执行文件
kafka-verifiable-producercli全局可执行文件
kafka-verifiable-share-consumercli全局可执行文件
trogdorcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本4.3.1
管理器更新时间2026-06-25
本地数据OK
上游not checked
检测到的最新版本未检测到

https://kafka.apache.org/

安装元数据

软件包元数据

软件包键brew:kafka
版本4.3.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/kafka
主页https://kafka.apache.org/
仓库https://github.com/apache/kafka
上游文档https://kafka.apache.org/documentation
许可证Apache-2.0
源码归档https://www.apache.org/dyn/closer.lua?path=kafka/4.3.1/kafka_2.13-4.3.1.tgz
最后更新2026-06-25T20:07:33Z
Pulseupdated
依赖openjdk
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install已定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekafka
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

pacman95%

kafka 4.3.0-1

An open-source distributed event streaming platform

https://kafka.apache.org/

sudo pacman -S kafka
  • License: Apache-2.0
  • Architecture: any
  • 2 依赖
  • normalized package name match
  • 匹配方式:Kafka
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: kafka from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

kafka-source 2.1.0-3.16

Source code of Apache Kafka

http://kafka.apache.org

sudo zypper install kafka-source
  • License: Apache-2.0
  • Category: Productivity/Networking/Other
  • Architecture: x86_64
  • Source Package: kafka
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kafka
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: kafka-source from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Scoop95%

main/kafka

scoop install main/kafka
  • normalized package name match
  • 匹配方式:Kafka
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/kafka.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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