{"id":16930962,"url":"https://github.com/schmichael/k2","last_synced_at":"2025-03-21T03:25:16.725Z","repository":{"id":136249191,"uuid":"52583226","full_name":"schmichael/k2","owner":"schmichael","description":"toy kafka","archived":false,"fork":false,"pushed_at":"2016-02-28T05:03:58.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T00:12:11.535Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schmichael.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-02-26T06:19:18.000Z","updated_at":"2016-02-28T05:04:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ab77fbc-6fd7-4830-9423-5d8c03c782a2","html_url":"https://github.com/schmichael/k2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Fk2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Fk2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Fk2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmichael%2Fk2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schmichael","download_url":"https://codeload.github.com/schmichael/k2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244729795,"owners_count":20500303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-13T20:42:54.560Z","updated_at":"2025-03-21T03:25:16.705Z","avatar_url":"https://github.com/schmichael.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k2\n\nToy kafka implementation\n\n```sh\ngo get github.com/schmichael/k2\nk2\n\n# Then send messages to it\n```\n\nhttps://github.com/urbanairship/pykafkap#usage is a handy way to send messages\nand test the thing. Kafka's shell scripts drive me crazy, and I'd prefer not to\nhave it or any scala on my machine at all.\n\n```sh\nk2 -h # for options\n```\n\n## Why?\n\nKafka is fantastic, and I have no intention of trying to write a production\nready replacement. Here's why I'm wasting my time on k2 at all:\n\n1. For fun. This is the only real reason. Well maybe to learn a thing or two as\n   well.\n1. Hopefully it's fixed now but compiling kafka in an Ubuntu encrypted homedir\n   exceeded path length limits and broke. That drove me crazy.\n1. Depending on what version of Kafka you want/need, you may be stuck on a\n   version of the JDK you otherwise wouldn't use because specific versions of\n   Kafka are tied to specific versions of Scala which are tied to specific\n   versions of Java.\n1. Eventually re-using some of this code for kafka related tooling might be\n   nice since (as stated above) the bundled shell scripts drive me crazy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschmichael%2Fk2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschmichael%2Fk2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschmichael%2Fk2/lists"}