🍺 BREW Explorer

← all formulae

kcat

brew install kcat v1.7.0_1 BSD-2-Clause

Generic command-line non-JVM Apache Kafka producer and consumer

745
30-day installs · #1459
2.7k
90-day · #1424
13.8k
365-day · #1264
5.8k
★ GitHub stars · updated 2y ago

Runtime dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "avro-c",
    "librdkafka",
    "libserdes",
    "yajl"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Generic command-line non-JVM Apache Kafka producer and consumer",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:29+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "kcat",
  "github_default_branch": "master",
  "github_last_commit_at": "2024-07-09T16:13:37Z",
  "github_readme_excerpt": "![logo by @dtrapezoid](./resources/kcat_small.png)\n\n# kcat\n\n**kcat is the project formerly known as as kafkacat**\n\nkcat and kafkacat are Copyright (c) 2014-2021 Magnus Edenhill\n\n[https://github.com/edenhill/kcat](https://github.com/edenhill/kcat)\n\n*kcat logo by [@dtrapezoid](https://twitter.com/dtrapezoid)*\n\n\n## What is kcat\n\n**kcat** is a generic non-JVM producer and consumer for Apache Kafka \u003e=0.8,\nthink of it as a netcat for Kafka.\n\nIn **producer** mode kcat reads messages from stdin, delimited with a\nconfigurable delimiter (-D, defaults to newline), and produces them to the\nprovided Kafka cluster (-b), topic (-t) and partition (-p).\n\nIn **consumer** mode kcat reads messages from a topic and partition and\nprints them to stdout using the configured message delimiter.\n\nThere\u0027s also support for the Kafka \u003e=0.9 high-level balanced consumer, use\nthe `-G \u003cgroup\u003e` switch and provide a list of topics to join the group.\n\nkcat also features a Metadata list (-L) mode to display the current\nstate of the Kafka cluster and its topics and partitions.\n\nSupports Avro message deserialization using the Confluent Schema-Registry,\nand generic primitive deserializers (see examples below).\n\nkcat is fast and lightweight; statically linked it is no more than 150Kb.\n\n## What happened to kafkacat?\n\n**kcat is kafkacat**. The kafkacat project was renamed to kcat in August 2021\nto adhere to the Apache Software Foundation\u0027s (ASF) trademark policies.\nApart from the name, nothing else was changed.\n\n\n## Try it out with docker\n\n```bash\n# List brokers and topics in cluster\n$ docker run -it --network=host edenhill/kcat:1.7.1 -b YOUR_BROKER -L\n```\n\nSee [Examples](#examples) for usage options, and [Running in Docker](#running-in-docker) for more information on how to properly run docker-based clients with Kafka.\n\n\n## Install\n\n### On recent enough Debian systems:\n\n````\napt-get install kafkacat\n````\n\nOn recent openSUSE systems:\n\n```\nzypper addrepo https://download.opensuse.org/repositories/network:utili",
  "github_repo": "edenhill/kcat",
  "github_stars": 5762,
  "github_topics": [],
  "homepage": "https://github.com/edenhill/kcat",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 745,
  "installs_365d": 13801,
  "installs_90d": 2656,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-2-Clause",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "kcat",
  "oldnames": [
    "kafkacat"
  ],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1459,
  "rank_365d": 1264,
  "rank_90d": 1424,
  "raw_hash": "2c1acac37b2f01d5",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/k/kcat.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.7.0",
  "versioned_formulae": [],
  "why_use_this": null
}