{"id":23772987,"url":"https://github.com/yanruijie902136/codecrafters-kafka-cpp","last_synced_at":"2026-03-02T05:01:27.755Z","repository":{"id":278678478,"uuid":"935946902","full_name":"yanruijie902136/codecrafters-kafka-cpp","owner":"yanruijie902136","description":"My C++ solution to CodeCrafters' Build your own Kafka challenge (18 stages).","archived":false,"fork":false,"pushed_at":"2025-05-13T03:45:54.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T05:42:51.331Z","etag":null,"topics":["build-your-own-x","codecrafters","cpp","kafka"],"latest_commit_sha":null,"homepage":"https://app.codecrafters.io/courses/kafka/introduction","language":"C++","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/yanruijie902136.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,"zenodo":null}},"created_at":"2025-02-20T09:27:42.000Z","updated_at":"2025-05-13T03:45:57.000Z","dependencies_parsed_at":"2025-02-21T05:15:41.436Z","dependency_job_id":"b3c8946d-e2a9-4425-98fe-98a8ef69250b","html_url":"https://github.com/yanruijie902136/codecrafters-kafka-cpp","commit_stats":null,"previous_names":["yanruijie902136/codecrafters-kafka-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanruijie902136/codecrafters-kafka-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanruijie902136%2Fcodecrafters-kafka-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanruijie902136%2Fcodecrafters-kafka-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanruijie902136%2Fcodecrafters-kafka-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanruijie902136%2Fcodecrafters-kafka-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanruijie902136","download_url":"https://codeload.github.com/yanruijie902136/codecrafters-kafka-cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanruijie902136%2Fcodecrafters-kafka-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29993024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["build-your-own-x","codecrafters","cpp","kafka"],"created_at":"2025-01-01T05:21:42.036Z","updated_at":"2026-03-02T05:01:27.748Z","avatar_url":"https://github.com/yanruijie902136.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![progress-banner](https://backend.codecrafters.io/progress/kafka/fb700036-38e7-44d2-92ae-625632abd3b3)](https://app.codecrafters.io/users/codecrafters-bot?r=2qF)\n\nThis is a starting point for C++ solutions to the\n[\"Build Your Own Kafka\" Challenge](https://codecrafters.io/challenges/kafka).\n\nIn this challenge, you'll build a toy Kafka clone that's capable of accepting\nand responding to APIVersions \u0026 Fetch API requests. You'll also learn about\nencoding and decoding messages using the Kafka wire protocol. You'll also learn\nabout handling the network protocol, event loops, TCP sockets and more.\n\n**Note**: If you're viewing this repo on GitHub, head over to\n[codecrafters.io](https://codecrafters.io) to try the challenge.\n\n# Passing the first stage\n\nThe entry point for your Kafka implementation is in `src/main.cpp`. Study and\nuncomment the relevant code, and push your changes to pass the first stage:\n\n```sh\ngit commit -am \"pass 1st stage\" # any msg\ngit push origin master\n```\n\nThat's all!\n\n# Stage 2 \u0026 beyond\n\nNote: This section is for stages 2 and beyond.\n\n1. Ensure you have `cmake` installed locally\n1. Run `./your_program.sh` to run your Kafka broker, which is implemented in\n   `src/main.cpp`.\n1. Commit your changes and run `git push origin master` to submit your solution\n   to CodeCrafters. Test output will be streamed to your terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanruijie902136%2Fcodecrafters-kafka-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanruijie902136%2Fcodecrafters-kafka-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanruijie902136%2Fcodecrafters-kafka-cpp/lists"}