{"id":23338362,"url":"https://github.com/abhirockzz/kafka-go-docker-quickstart","last_synced_at":"2025-04-09T22:32:19.664Z","repository":{"id":79125138,"uuid":"148660161","full_name":"abhirockzz/kafka-go-docker-quickstart","owner":"abhirockzz","description":"Docker based example for Kafka using Go client","archived":false,"fork":false,"pushed_at":"2018-09-14T05:02:30.000Z","size":5,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T00:25:05.556Z","etag":null,"topics":["docker","docker-compose","go","golang","kafka"],"latest_commit_sha":null,"homepage":"https://simplydistributed.wordpress.com/2018/09/14/kafka-go-client-quick-start/","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/abhirockzz.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":"2018-09-13T15:39:54.000Z","updated_at":"2024-07-27T14:09:33.000Z","dependencies_parsed_at":"2023-03-12T06:43:53.490Z","dependency_job_id":null,"html_url":"https://github.com/abhirockzz/kafka-go-docker-quickstart","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/abhirockzz%2Fkafka-go-docker-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Fkafka-go-docker-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Fkafka-go-docker-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Fkafka-go-docker-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhirockzz","download_url":"https://codeload.github.com/abhirockzz/kafka-go-docker-quickstart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248123578,"owners_count":21051498,"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":["docker","docker-compose","go","golang","kafka"],"created_at":"2024-12-21T03:13:42.081Z","updated_at":"2025-04-09T22:32:19.649Z","avatar_url":"https://github.com/abhirockzz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kafka Go(lang) quick start\r\n\r\nCheck [the blog post](https://simplydistributed.wordpress.com/2018/09/14/kafka-go-client-quick-start/) for details\r\n\r\nDocker based example for Kafka using Go client\r\n\r\n- `git clone https://github.com/abhirockzz/kafka-go-docker-quickstart`\r\n- `cd kafka-go-quickstart`\r\n- edit `docker-compose.yml` and provide values for `KAFKA_BROKER` and `KAFKA_TOPIC` variables as per your setup\r\n- start - `docker-compose up`\r\n- check logs\r\n\r\n\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tconsumer_1  | Message 2018-09-13 16:20:08.506907019 +0000 UTC m=+8854.499461595\r\n\t\tproducer_1  | Delivered message to offset 7432 in partition test[0]@7432\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tconsumer_1  | EOF at test[1]@7404(Broker: No more messages)\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tconsumer_1  | OffsetsCommitted (\u003cnil\u003e, [test[1]@7404])\r\n\t\tproducer_1  | Delivered message to offset 7403 in partition test[1]@7403\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tproducer_1  | Delivered message to offset 7433 in partition test[0]@7433\r\n\t\tconsumer_1  | Message 2018-09-13 16:20:13.514229263 +0000 UTC m=+8859.506783855\r\n\t\tproducer_1  | Delivered message to offset 7434 in partition test[0]@7434\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tproducer_1  | Delivered message to offset 7404 in partition test[1]@7404\r\n\t\tconsumer_1  | Message 2018-09-13 16:20:13.517535428 +0000 UTC m=+8859.510090009\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tconsumer_1  | Message 2018-09-13 16:20:13.520525347 +0000 UTC m=+8859.513079916\r\n\t\tproducer_1  | Delivered message to offset 7405 in partition test[1]@7405\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tconsumer_1  | EOF at test[1]@7407(Broker: No more messages)\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tconsumer_1  | OffsetsCommitted (\u003cnil\u003e, [test[1]@7407])\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tconsumer_1  | Message 2018-09-13 16:20:18.524126429 +0000 UTC m=+8864.516680997\r\n\t\tproducer_1  | Delivered message to offset 7406 in partition test[1]@7406\r\n\t\tconsumer_1  | waiting for event...\r\n\t\tconsumer_1  | Message 2018-09-13 16:20:18.528697235 +0000 UTC m=+8864.521251825\r\n\t\tproducer_1  | Delivered message to offset 7407 in partition test[1]@7407\r\n\t\tproducer_1  | Delivered message to offset 7408 in partition test[1]@7408\r\n\t\tproducer_1  | Delivered message to offset 7435 in partition test[0]@7435\r\n\t\tproducer_1  | Delivered message to offset 7436 in partition test[0]@7436","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhirockzz%2Fkafka-go-docker-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhirockzz%2Fkafka-go-docker-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhirockzz%2Fkafka-go-docker-quickstart/lists"}