{"id":19110808,"url":"https://github.com/matthew-shaw/rabbit-stew","last_synced_at":"2026-04-28T16:03:55.322Z","repository":{"id":246935214,"uuid":"822464224","full_name":"matthew-shaw/rabbit-stew","owner":"matthew-shaw","description":"RabbitMQ Experiments","archived":false,"fork":false,"pushed_at":"2024-07-29T11:55:38.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-07T05:38:57.469Z","etag":null,"topics":["amqp","broker","consumer","docker","docker-compose","event","events","exchange","flask","gunicorn","messaging","pika","producer","publisher","python","queue","queueing","queues","rabbitmq"],"latest_commit_sha":null,"homepage":"","language":"Python","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/matthew-shaw.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":"2024-07-01T07:51:39.000Z","updated_at":"2024-07-29T11:55:41.000Z","dependencies_parsed_at":"2024-11-09T04:26:37.076Z","dependency_job_id":"e030171b-3dd9-4483-a4fc-8ccace96f91f","html_url":"https://github.com/matthew-shaw/rabbit-stew","commit_stats":null,"previous_names":["matthew-shaw/rabbit-stew"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matthew-shaw/rabbit-stew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthew-shaw%2Frabbit-stew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthew-shaw%2Frabbit-stew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthew-shaw%2Frabbit-stew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthew-shaw%2Frabbit-stew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthew-shaw","download_url":"https://codeload.github.com/matthew-shaw/rabbit-stew/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthew-shaw%2Frabbit-stew/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"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":["amqp","broker","consumer","docker","docker-compose","event","events","exchange","flask","gunicorn","messaging","pika","producer","publisher","python","queue","queueing","queues","rabbitmq"],"created_at":"2024-11-09T04:26:06.257Z","updated_at":"2026-04-28T16:03:55.306Z","avatar_url":"https://github.com/matthew-shaw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RabbitMQ Experiments\n\nThis experiment demonstrates:\n\n- Using the Pika library for Python to create a RabbitMQ client, used by producers and consumers\n- Secure connections using mutual SSL authentication over TLS between three segregated networks\n- A direct exchange with routing keys used to bind queues for consumers\n- Multiple consumers receiving messages from shared queues using round-robin dispatching and prefetching, to parrallelise work\n- Consumer Acknowledgements and Publisher Confirms for increased data safety\n- Durable queues and persistent messages for increased fault tolerance\n- Python type annotations and checking using mypy\n- Container scaling using Docker Compose for local development\n\n## Getting started\n\n```bash\ndocker compose up --build\n```\n\n## Design\n\n```mermaid\nflowchart TB\n    client(Client)\n    subgraph Docker compose\n        subgraph Producer network\n            P((Producer)):::P\n        end\n\n        subgraph Broker network\n            X{{Chores}}:::X\n            Q1[[parents_tasks]]:::Q\n            Q2[[kids_tasks]]:::Q\n        end\n        \n        subgraph Consumer network\n            C1((Parent A)):::C\n            C2((Parent B)):::C\n            C3((Kid A)):::C\n            C4((Kid B)):::C\n        end\n    end\n\n    client -- http --\u003e P\n    P -- amqps --\u003e X\n    X -- parents --\u003e Q1\n    X -- kids --\u003e Q2\n    Q1 -- amqps --\u003e C1 \u0026 C2\n    Q2 -- amqps --\u003e C3 \u0026 C4\n\n    classDef P fill:#DAE8FC,stroke:#6C8EBF,stroke-width:2px\n    classDef X fill:#F8CECC,stroke:#B85450,stroke-width:2px\n    classDef Q fill:#FFF2CC,stroke:#D6B656,stroke-width:2px\n    classDef C fill:#D5E8D4,stroke:#82B366,stroke-width:2px\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthew-shaw%2Frabbit-stew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthew-shaw%2Frabbit-stew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthew-shaw%2Frabbit-stew/lists"}