{"id":20697535,"url":"https://github.com/epomatti/go-kafka","last_synced_at":"2026-04-11T09:02:16.169Z","repository":{"id":162340169,"uuid":"636868899","full_name":"epomatti/go-kafka","owner":"epomatti","description":"Minimalist Kafka go client demo running on docker scratch","archived":false,"fork":false,"pushed_at":"2023-05-05T23:44:23.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T02:51:15.283Z","etag":null,"topics":["alpine","c","cpp","docker","go","kafka","musl","scratch"],"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/epomatti.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-05T20:58:05.000Z","updated_at":"2024-01-08T09:17:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"0929bec3-df01-4a18-947f-dcfb10d051d7","html_url":"https://github.com/epomatti/go-kafka","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epomatti/go-kafka","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgo-kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgo-kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgo-kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgo-kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epomatti","download_url":"https://codeload.github.com/epomatti/go-kafka/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgo-kafka/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31674624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"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":["alpine","c","cpp","docker","go","kafka","musl","scratch"],"created_at":"2024-11-17T00:18:53.423Z","updated_at":"2026-04-11T09:02:16.137Z","avatar_url":"https://github.com/epomatti.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Kafka - Demo\n\nThis demo runs with a statically compiled Go application using the Kafka SDK.\n\n## Running locally\n\nUse this segment to run your Go code locally with a sidecar docker Kafka.\n\nStart Kafka:\n\n```\ndocker-compose -f docker-compose-kafkaonly.yaml up -d\n```\n\nCreate the `demo` topic:\n\n```\ndocker exec broker kafka-topics --bootstrap-server broker:9092 --create --topic demo\n```\n\nStart the Go consumer:\n\n```\ngo mod tidy\ngo run .\n```\n\nUse the CLI producer to send inline events to Kafka:\n\n```\ndocker exec --interactive --tty broker kafka-console-producer --bootstrap-server broker:9092 --topic demo\n```\n\n## Running on Docker\n\nStart up the complete environment:\n\n```\ndocker-compose -f docker-compose-full.yaml build\ndocker-compose -f docker-compose-full.yaml up\n```\n\nCreate the Kafka topic:\n\n```\ndocker-compose -f docker-compose-full.yaml exec broker kafka-topics --bootstrap-server broker:9092 --create --topic demo\n```\n\nConnect to the broker and send messages for consumption:\n\n```\ndocker-compose -f docker-compose-full.yaml exec --interactive --tty broker kafka-console-producer --bootstrap-server broker:9092 --topic demo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Fgo-kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepomatti%2Fgo-kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Fgo-kafka/lists"}