{"id":27962442,"url":"https://github.com/dashbitco/broadway_rabbitmq","last_synced_at":"2025-05-14T20:11:08.937Z","repository":{"id":37059213,"uuid":"175671499","full_name":"dashbitco/broadway_rabbitmq","owner":"dashbitco","description":"A Broadway producer for RabbitMQ","archived":false,"fork":false,"pushed_at":"2024-11-13T13:25:01.000Z","size":214,"stargazers_count":193,"open_issues_count":3,"forks_count":45,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-07T19:47:27.683Z","etag":null,"topics":["broadway","genstage","rabbitmq"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/dashbitco.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2019-03-14T17:43:09.000Z","updated_at":"2025-01-20T17:50:11.000Z","dependencies_parsed_at":"2023-02-15T18:01:12.474Z","dependency_job_id":"c41fa7b3-eb2c-420f-9282-114cdef46c31","html_url":"https://github.com/dashbitco/broadway_rabbitmq","commit_stats":{"total_commits":130,"total_committers":36,"mean_commits":3.611111111111111,"dds":0.5923076923076923,"last_synced_commit":"19e1eb8a566f42b55cea0f6e687f4114c01352e0"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashbitco%2Fbroadway_rabbitmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashbitco%2Fbroadway_rabbitmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashbitco%2Fbroadway_rabbitmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashbitco%2Fbroadway_rabbitmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashbitco","download_url":"https://codeload.github.com/dashbitco/broadway_rabbitmq/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254219374,"owners_count":22034397,"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":["broadway","genstage","rabbitmq"],"created_at":"2025-05-07T19:22:22.236Z","updated_at":"2025-05-14T20:11:05.687Z","avatar_url":"https://github.com/dashbitco.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BroadwayRabbitMQ\n\n[![hex.pm badge](https://img.shields.io/badge/Package%20on%20hex.pm-informational)](https://hex.pm/packages/broadway_rabbitmq)\n[![Documentation badge](https://img.shields.io/badge/Documentation-ff69b4)][docs]\n[![CI](https://github.com/dashbitco/broadway_rabbitmq/actions/workflows/ci.yml/badge.svg)](https://github.com/dashbitco/broadway_rabbitmq/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/dashbitco/broadway_rabbitmq/badge.svg?branch=master)](https://coveralls.io/github/dashbitco/broadway_rabbitmq?branch=master)\n\nA RabbitMQ connector for [Broadway](https://github.com/dashbitco/broadway).\n\nDocumentation can be found at [https://hexdocs.pm/broadway_rabbitmq][docs].\nFor more details on using Broadway with RabbitMQ, please see the\n[RabbitMQ Guide](https://hexdocs.pm/broadway/rabbitmq.html).\n\n## Installation\n\nAdd `:broadway_rabbitmq` to the list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:broadway_rabbitmq, \"~\u003e 0.7.0\"}\n  ]\nend\n```\n\n## Usage\n\nConfigure Broadway with one or more producers using `BroadwayRabbitMQ.Producer`:\n\n```elixir\n  defmodule MyBroadway do\n    use Broadway\n\n    def start_link(_opts) do\n      Broadway.start_link(__MODULE__,\n        name: __MODULE__,\n        producer: [\n          module: {BroadwayRabbitMQ.Producer,\n            queue: \"my_queue\",\n          },\n          concurrency: 1\n        ],\n        processors: [\n          default: [\n            concurrency: 10\n          ]\n        ]\n      )\n    end\n\n    def handle_message(_, message, _) do\n      IO.inspect(message.data, label: \"Got message\")\n      message\n    end\n  end\n```\n\n## Contributing\n\nTo run tests that don't need any dependency, use:\n\n```bash\nmix test --exclude integration\n```\n\nTo run integration tests, you'll need RabbitMQ running on your `localhost:5672`.\nFor simplicity, this repository includes a\n[`docker-compose.yml`](./docker-compose.yml) file that you can use to run\nRabbitMQ via [Docker Compose](https://docs.docker.com/compose/). If you have\n[Docker](https://www.docker.com) installed, you can run:\n\n```bash\ndocker-compose up -d\n```\n\nThen, you can run `mix test`.\n\n## License\n\nCopyright 2019 Plataformatec\\\nCopyright 2020 Dashbit\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n[docs]: https://hexdocs.pm/broadway_rabbitmq\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashbitco%2Fbroadway_rabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashbitco%2Fbroadway_rabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashbitco%2Fbroadway_rabbitmq/lists"}