{"id":21135521,"url":"https://github.com/mrrobb/rust-consumer-producer","last_synced_at":"2026-04-24T18:38:22.610Z","repository":{"id":98850735,"uuid":"297584950","full_name":"MrRobb/rust-consumer-producer","owner":"MrRobb","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-23T21:56:05.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T06:43:28.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/MrRobb.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":"2020-09-22T08:29:22.000Z","updated_at":"2023-07-25T14:39:26.000Z","dependencies_parsed_at":"2023-05-25T20:45:10.985Z","dependency_job_id":null,"html_url":"https://github.com/MrRobb/rust-consumer-producer","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/MrRobb%2Frust-consumer-producer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Frust-consumer-producer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Frust-consumer-producer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Frust-consumer-producer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrRobb","download_url":"https://codeload.github.com/MrRobb/rust-consumer-producer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581062,"owners_count":20314163,"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":[],"created_at":"2024-11-20T06:56:15.530Z","updated_at":"2025-12-28T18:31:09.845Z","avatar_url":"https://github.com/MrRobb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multiple Consumers \u003c-\u003e Multiple Producers Showcase\n\nExample of a consumer \u003c-\u003e producer system in Rust.\n\n![https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.stack.imgur.com%2FCoI4J.png\u0026f=1\u0026nofb=1](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.stack.imgur.com%2FCoI4J.png\u0026f=1\u0026nofb=1)\n\n### Requirements\n\n- Rust\n- Docker Compose\n\n### Install\n\n```sh\n# Install sqlx (cli tool)\ncargo install --version=0.1.0-beta.1 sqlx-cli\n```\n\n### Usage\n\n```sh\n# Initialize RabbitMQ, Postgres and PgAdmin4\ndocker-compose up\n\n# Setup database\nexport DATABASE_URL=\"postgres://guest:guest@localhost/guestdb\"\nsqlx db create\nsqlx migrate run\n\n# Execute consumer\ncargo run --release --bin consumer\n\n# Execute producer\ncargo run --release --bin producer -- --n-messages 1000\n```\n\n\u003e You can go to localhost:15672 to access the RabbitMQ administrator dashboard.\n\n\u003e You can go to localhost:8080 to access the PgAdmin4 administrator panel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobb%2Frust-consumer-producer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrrobb%2Frust-consumer-producer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobb%2Frust-consumer-producer/lists"}