{"id":15192139,"url":"https://github.com/hhow09/go-kafka-example","last_synced_at":"2026-02-08T18:02:15.300Z","repository":{"id":146534105,"uuid":"616606042","full_name":"hhow09/go-kafka-example","owner":"hhow09","description":"kafka lab","archived":false,"fork":false,"pushed_at":"2023-03-24T03:41:22.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T21:06:32.556Z","etag":null,"topics":["benchmark","docker-compose","golang","kafka"],"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/hhow09.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":"2023-03-20T18:04:55.000Z","updated_at":"2023-03-23T18:02:16.000Z","dependencies_parsed_at":"2023-07-15T03:15:22.633Z","dependency_job_id":null,"html_url":"https://github.com/hhow09/go-kafka-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hhow09/go-kafka-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhow09%2Fgo-kafka-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhow09%2Fgo-kafka-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhow09%2Fgo-kafka-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhow09%2Fgo-kafka-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhow09","download_url":"https://codeload.github.com/hhow09/go-kafka-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhow09%2Fgo-kafka-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267468390,"owners_count":24092334,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["benchmark","docker-compose","golang","kafka"],"created_at":"2024-09-27T21:05:18.362Z","updated_at":"2026-02-08T18:02:15.198Z","avatar_url":"https://github.com/hhow09.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Kafka Example\n\n## Examples\n### [basic](./basic/)\n### [Basic Async Producer](./basic-async/)\n- async producer\n### [Basic Async Consumer Group (3)](./basic-async-consumer-group/)\n- async producer with 3 consumers (same group)\n### [Basic Batch Timeout Optimized](./basic-batchTimeout-optimized/)\n- reduce batch timeout\n### [replicated](./replicated/)\n- adjust replication factor = 3\n\n## How to use\n- `make up`: run the services\n- `up-rebuild`: run services with dockerfile rebuilt (if [producer](./producer/) or [consumer](./consumer/) need to rebuild)\n- `make down`: stop services\n\n### Settings\n- change `REMOVE_RAW` to `false` if you want to see the raw logs of conumser\n\n## Packages\n- [producer](./producer/): message producer\n- [consumer](./consumer/): message consumer (also write logs)\n- [log-paresr](./log-paresr/): log paresr / analyzer for performance benchmark\n\n## Ref\n- [Kafka: The Definitive Guide v2](https://www.confluent.io/resources/kafka-the-definitive-guide-v2/)\n- [conduktor/kafka-stack-docker-compose](https://github.com/conduktor/kafka-stack-docker-compose)\n- [Implementing a Kafka Producer and Consumer In Golang (With Full Examples) For Production](https://www.sohamkamani.com/golang/working-with-kafka/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhow09%2Fgo-kafka-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhow09%2Fgo-kafka-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhow09%2Fgo-kafka-example/lists"}