{"id":13646236,"url":"https://github.com/birdayz/kaf","last_synced_at":"2026-01-16T15:11:14.372Z","repository":{"id":37664849,"uuid":"148390440","full_name":"birdayz/kaf","owner":"birdayz","description":"Modern CLI for Apache Kafka, written in Go.","archived":false,"fork":false,"pushed_at":"2025-12-31T00:36:42.000Z","size":16181,"stargazers_count":2381,"open_issues_count":79,"forks_count":158,"subscribers_count":18,"default_branch":"master","last_synced_at":"2026-01-12T05:01:48.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/birdayz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"birdayz"}},"created_at":"2018-09-11T22:57:19.000Z","updated_at":"2025-12-31T03:26:48.000Z","dependencies_parsed_at":"2026-01-12T05:02:24.547Z","dependency_job_id":null,"html_url":"https://github.com/birdayz/kaf","commit_stats":{"total_commits":400,"total_committers":56,"mean_commits":7.142857142857143,"dds":"0.45499999999999996","last_synced_commit":"a971bdbaeef6d1254a13a0d55610500aa2b8f78f"},"previous_names":["infinimesh/kaf"],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/birdayz/kaf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birdayz%2Fkaf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birdayz%2Fkaf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birdayz%2Fkaf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birdayz%2Fkaf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/birdayz","download_url":"https://codeload.github.com/birdayz/kaf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birdayz%2Fkaf/sbom","scorecard":{"id":239596,"data":{"date":"2025-08-11","repo":{"name":"github.com/birdayz/kaf","commit":"d654fffc95d06e5e3b3424b46e67dc3b3602bf4e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":7,"reason":"Found 10/13 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/goreleaser.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/birdayz/kaf/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/birdayz/kaf/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/birdayz/kaf/goreleaser.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/birdayz/kaf/goreleaser.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/birdayz/kaf/goreleaser.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/goreleaser.yml:9"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.2.13 not signed: https://api.github.com/repos/birdayz/kaf/releases/212900160","Warn: release artifact v0.2.11 not signed: https://api.github.com/repos/birdayz/kaf/releases/206031942","Warn: release artifact v0.2.8 not signed: https://api.github.com/repos/birdayz/kaf/releases/146102112","Warn: release artifact v0.2.7 not signed: https://api.github.com/repos/birdayz/kaf/releases/136568911","Warn: release artifact v0.2.6 not signed: https://api.github.com/repos/birdayz/kaf/releases/111167152","Warn: release artifact v0.2.13 does not have provenance: https://api.github.com/repos/birdayz/kaf/releases/212900160","Warn: release artifact v0.2.11 does not have provenance: https://api.github.com/repos/birdayz/kaf/releases/206031942","Warn: release artifact v0.2.8 does not have provenance: https://api.github.com/repos/birdayz/kaf/releases/146102112","Warn: release artifact v0.2.7 does not have provenance: https://api.github.com/repos/birdayz/kaf/releases/136568911","Warn: release artifact v0.2.6 does not have provenance: https://api.github.com/repos/birdayz/kaf/releases/111167152"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3005 / GHSA-v23v-6jw2-98fq","Warn: Project is vulnerable to: GO-2025-3829 / GHSA-4vq8-7jfc-9cvp","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T06:26:49.268Z","repository_id":37664849,"created_at":"2025-08-17T06:26:49.268Z","updated_at":"2025-08-17T06:26:49.268Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:02:51.166Z","updated_at":"2026-01-16T15:11:14.357Z","avatar_url":"https://github.com/birdayz.png","language":"Go","funding_links":["https://github.com/sponsors/birdayz"],"categories":["Go","Kafka","Useful Command Line Tools","CLI Tools"],"sub_categories":["Infrastructure from code","Interactive Tools"],"readme":"# Kaf\nKafka CLI inspired by kubectl \u0026 docker\n\n[![Actions Status](https://github.com/birdayz/kaf/workflows/Go/badge.svg)](https://github.com/birdayz/kaf/actions)\n[![GoReportCard](https://goreportcard.com/badge/github.com/birdayz/kaf)](https://goreportcard.com/report/github.com/birdayz/kaf)\n[![GoDoc](https://godoc.org/github.com/birdayz/kaf?status.svg)](https://godoc.org/github.com/birdayz/kaf)\n![AUR version](https://img.shields.io/aur/version/kaf-bin)\n\n![asciicinema](asciicinema.gif)\n\n## Install\nInstall via Go from source:\n\n```\ngo install github.com/birdayz/kaf/cmd/kaf@latest\n```\n\nInstall via install script:\n\n```\ncurl https://raw.githubusercontent.com/birdayz/kaf/master/godownloader.sh | BINDIR=$HOME/bin bash\n```\n\nInstall on Archlinux via [AUR](https://aur.archlinux.org/packages/kaf-bin/):\n\n```\nyay -S kaf-bin\n```\n\nInstall via Homebrew:\n\n```\nbrew tap birdayz/kaf\nbrew install kaf\n```\n\n## Usage\n\nShow the tool version\n\n`kaf --version`\n\nAdd a local Kafka with no auth\n\n`kaf config add-cluster local -b localhost:9092`\n\nSelect cluster from dropdown list\n\n`kaf config select-cluster`\n\nDescribe and List nodes\n\n`kaf node ls`\n\nList topics, partitions and replicas\n\n`kaf topics`\n\nDescribe a given topic called _mqtt.messages.incoming_\n\n`kaf topic describe mqtt.messages.incoming`\n\n### Group Inspection\n\nList consumer groups\n\n`kaf groups`\n\nDescribe a given consumer group called _dispatcher_\n\n`kaf group describe dispatcher`\n\nWrite message into given topic from stdin\n\n`echo test | kaf produce mqtt.messages.incoming`\n\n```\necho {\"data\":1} | kaf produce mqtt.messages.incoming --key 1 --header h1:hv1\n\u003e Sent record to partition 0 at offset 0.\n\nkaf consume mqtt.messages.incoming --output json-each-row\n\u003e {\"topic\":\"mqtt.messages.incoming\",\"partition\":0,\"offset\":0,\"timestamp\":\"2025-07-04T12:53:46.841+02:00\",\"headers\":[{\"key\":\"h1\",\"value\":\"hv1\"}],\"key\":\"1\",\"payload\":\"{data:1}\"}\n\n\necho '{\"topic\":\"mqtt.messages.incoming\",\"partition\":0,\"offset\":0,\"timestamp\":\"2025-07-04T12:53:46.841+02:00\",\"headers\":[{\"key\":\"h1\",\"value\":\"hv1\"}],\"key\":\"1\",\"payload\":\"{data:1}\"}' | kaf produce mqtt.messages.incoming --input json-each-row\n\nkaf consume mqtt.messages.incoming --output json-each-row\n\u003e {\"topic\":\"mqtt.messages.incoming\",\"partition\":0,\"offset\":1,\"timestamp\":\"2025-07-04T13:05:57.9+02:00\",\"headers\":[{\"key\":\"h1\",\"value\":\"hv1\"}],\"key\":\"1\",\"payload\":\"{data:1}\"}\n```\n\nPipe from one topic to another\n`kaf consume topic-a --output json-each-row -f | kaf produce topic-b --input json-each-row`\n\nImportant: kaf produce will overwrite key, partition and all the headers and of input messages if provided\n\nConsume messages with filtering by header\n`kaf consume mqtt.messages.incoming --header h1:hv1`\n\n### Offset Reset\n\nSet offset for consumer group _dispatcher_ consuming from topic _mqtt.messages.incoming_ to latest for all partitions\n\n`kaf group commit dispatcher -t mqtt.messages.incoming --offset latest --all-partitions`\n\nSet offset to oldest\n\n`kaf group commit dispatcher -t mqtt.messages.incoming --offset oldest --all-partitions`\n\nSet offset to 1001 for partition 0\n\n`kaf group commit dispatcher -t mqtt.messages.incoming --offset 1001 --partition 0`\n\n## Configuration\nSee the [examples](examples) folder\n\n## Shell autocompletion\nSource the completion script in your shell commands file:\n\nBash Linux:\n\n```kaf completion bash \u003e /etc/bash_completion.d/kaf```\n\nBash MacOS:\n\n```kaf completion bash \u003e /usr/local/etc/bash_completion.d/kaf```\n\nZsh\n\n```kaf completion zsh \u003e \"${fpath[1]}/_kaf\"```\n\nFish\n\n```kaf completion fish \u003e ~/.config/fish/completions/kaf.fish```\n\nPowershell\n\n```Invoke-Expression (@(kaf completion powershell) -replace \" ''\\)$\",\" ' ')\" -join \"`n\")```\n\n## Sponsors\n### [Redpanda](https://github.com/redpanda-data/redpanda)\n- The streaming data platform for developers\n- Single binary w/no dependencies\n- Fully Kafka API compatible\n- 10x lower P99 latencies, 6x faster transactions\n- Zero data loss by default\n### [Zerodha](https://zerodha.tech)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirdayz%2Fkaf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbirdayz%2Fkaf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirdayz%2Fkaf/lists"}