{"id":20909913,"url":"https://github.com/escalopa/gobrokers","last_synced_at":"2026-05-25T09:35:22.579Z","repository":{"id":105079890,"uuid":"602472634","full_name":"escalopa/gobrokers","owner":"escalopa","description":"A practice area of using golang with messsage brokers","archived":false,"fork":false,"pushed_at":"2023-02-16T14:11:59.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T20:58:11.207Z","etag":null,"topics":["golang","kafka","message-broker","rabbitmq"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/escalopa.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-02-16T09:33:05.000Z","updated_at":"2023-02-16T12:23:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"39d4789a-e0ce-494c-a68c-a41e73e45828","html_url":"https://github.com/escalopa/gobrokers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/escalopa/gobrokers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escalopa%2Fgobrokers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escalopa%2Fgobrokers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escalopa%2Fgobrokers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escalopa%2Fgobrokers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/escalopa","download_url":"https://codeload.github.com/escalopa/gobrokers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escalopa%2Fgobrokers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33469415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T06:32:55.349Z","status":"ssl_error","status_checked_at":"2026-05-25T06:32:35.322Z","response_time":57,"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":["golang","kafka","message-broker","rabbitmq"],"created_at":"2024-11-18T14:13:13.780Z","updated_at":"2026-05-25T09:35:22.549Z","avatar_url":"https://github.com/escalopa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gobrokers\n\nA practice area of using golang with messsage brokers\n\n\n## RabbitMQ Exampel 🐰\n\nIn this example we creaete a `group` to which many `consumers` can subscribe to. The `consumers` will receive messages from the `group` and process them.\n\nSo the message that is being published is received by all the `consumers` that are subscribed to the `group`, Which is the case in a group chat\n\n### Setup 🔨 \n\n1. Run rabbitmq server with docker compose\n\n```bash\ndocker compose -f rabbitMQ/docker-compose.yml up\n```\n\n### Run 🚀\n\n1. Run the publisher 📦\n\n```bash\ngo run rabbitMQ/prod/main.go\n```\n\n2. Run the consumer 🍹\n\nYou can run multiple consumers by changing the `queueName` in the cli arg, Currently the `queueName` is set to `my-queue0` \u0026 `my-queue1`, But u can make more edits to the `rabbitMQ/prod/main.go` file to create more queues\n\n```bash\ngo run rabbitMQ/consumer/main.go -queueName=\"my-queue0\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescalopa%2Fgobrokers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fescalopa%2Fgobrokers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescalopa%2Fgobrokers/lists"}