{"id":39035276,"url":"https://github.com/maximepeschard/kafkadog","last_synced_at":"2026-01-17T17:43:37.234Z","repository":{"id":64306453,"uuid":"269661882","full_name":"maximepeschard/kafkadog","owner":"maximepeschard","description":":dog: A Kafka consumer/producer CLI","archived":false,"fork":false,"pushed_at":"2020-06-21T12:23:28.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T13:12:46.262Z","etag":null,"topics":["cli","go","golang","kafka","kafka-client","kafkacat","toy-project"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maximepeschard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-05T14:18:41.000Z","updated_at":"2024-06-20T13:12:46.263Z","dependencies_parsed_at":"2023-01-15T10:45:43.730Z","dependency_job_id":null,"html_url":"https://github.com/maximepeschard/kafkadog","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/maximepeschard/kafkadog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximepeschard%2Fkafkadog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximepeschard%2Fkafkadog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximepeschard%2Fkafkadog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximepeschard%2Fkafkadog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximepeschard","download_url":"https://codeload.github.com/maximepeschard/kafkadog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximepeschard%2Fkafkadog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28513973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"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":["cli","go","golang","kafka","kafka-client","kafkacat","toy-project"],"created_at":"2026-01-17T17:43:37.147Z","updated_at":"2026-01-17T17:43:37.217Z","avatar_url":"https://github.com/maximepeschard.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release](https://img.shields.io/github/v/release/maximepeschard/kafkadog.svg)](https://github.com/maximepeschard/kafkadog/releases/latest)\n[![Release](https://github.com/maximepeschard/kafkadog/workflows/Release/badge.svg)](https://github.com/maximepeschard/kafkadog/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/maximepeschard/kafkadog)](https://goreportcard.com/report/github.com/maximepeschard/kafkadog)\n\n# kafkadog\n\nA Kafka consumer/producer CLI. Barking version of [Kafkacat](https://github.com/edenhill/kafkacat).\n\n## Installation\n\n### Homebrew\n\n```console\n$ brew install maximepeschard/tap/kafkadog\n```\n\n### go get\n\n```console\n$ go get github.com/maximepeschard/kafkadog\n```\n\n### Binary\n\nGrab the [latest release](https://github.com/maximepeschard/kafkadog/releases/latest) for your platform.\n\n## Example usage\n\n### Consumer\n\nRead messages and print their value on stdout :\n\n```console\n$ kafkadog consume -b mybroker:9092 my_topic\n```\n\nRead messages and print them with the format `topic.partition.offset -\u003e value` on stdout :\n\n```console\n$ kafkadog consume -b mybroker:9092 -f '%t.%p.%o -\u003e %v' my_topic\n```\n\nRead messages starting at the oldest available offset and print their value on stdout :\n\n```console\n$ kafkadog consume -b mybroker:9092 -s oldest my_topic\n```\n\nRead messages starting from a date (in UTC timezone) and print their value on stdout :\n\n```console\n$ kafkadog consume -b mybroker:9092 -s '2020-06-10 00:00:00' my_topic\n```\n\nRead messages starting from a UNIX timestamp (in milliseconds) and print their value on stdout :\n\n```console\n$ kafkadog consume -b mybroker:9092 -s 1591747200000 my_topic\n```\n\nRead messages starting at the oldest available offset and ending at a date (in UTC timezone) :\n\n```console\n$ kafkadog consume -b mybroker:9092 -s oldest -e '2020-06-10 00:00:00' my_topic\n```\n\n### Producer\n\nProduce one message :\n\n```console\n$ echo '{\"msg\": \"hello\"}' | kafkadog produce -b mybroker:9092 my_topic\n```\n\nProduce messages read from stdin (default is one message per line, close with Ctrl-D / Ctrl-C) :\n\n```console\n$ kafkadog produce -b mybroker:9092 my_topic\n```\n\nProduce messages read from a file (default is one message per line) :\n\n```console\n$ kafkadog produce -b mybroker:9092 -f messages.txt my_topic\n```\n\n## Detailed usage\n\nRun `kafkadog -h` for detailed usage and help.\n\n## Credits\n\n* [Shopify/sarama](https://github.com/Shopify/sarama)\n* [spf13/cobra](https://github.com/spf13/cobra)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximepeschard%2Fkafkadog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximepeschard%2Fkafkadog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximepeschard%2Fkafkadog/lists"}