{"id":13508054,"url":"https://github.com/pma/phoenix_pubsub_rabbitmq","last_synced_at":"2026-02-21T17:33:04.278Z","repository":{"id":27795605,"uuid":"31284608","full_name":"pma/phoenix_pubsub_rabbitmq","owner":"pma","description":"RabbitMQ adapter for Phoenix's PubSub layer","archived":false,"fork":false,"pushed_at":"2015-10-30T04:57:01.000Z","size":168,"stargazers_count":45,"open_issues_count":2,"forks_count":23,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T01:58:03.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/pma.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}},"created_at":"2015-02-24T22:11:33.000Z","updated_at":"2024-07-15T19:44:53.000Z","dependencies_parsed_at":"2022-09-26T18:20:42.550Z","dependency_job_id":null,"html_url":"https://github.com/pma/phoenix_pubsub_rabbitmq","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pma/phoenix_pubsub_rabbitmq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pma%2Fphoenix_pubsub_rabbitmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pma%2Fphoenix_pubsub_rabbitmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pma%2Fphoenix_pubsub_rabbitmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pma%2Fphoenix_pubsub_rabbitmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pma","download_url":"https://codeload.github.com/pma/phoenix_pubsub_rabbitmq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pma%2Fphoenix_pubsub_rabbitmq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29688256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-08-01T02:00:46.960Z","updated_at":"2026-02-21T17:33:00.329Z","avatar_url":"https://github.com/pma.png","language":"Elixir","funding_links":[],"categories":["Framework Components"],"sub_categories":[],"readme":"Phoenix Pubsub - RabbitMQ Adapter\n=================================\n\nRabbitMQ adapter for the Phoenix framework PubSub layer.\n\n## Usage\n\nAdd `phoenix_pubsub_rabbitmq` as a dependency in your `mix.exs` file.\n\n```elixir\ndef deps do\n  [{:phoenix_pubsub_rabbitmq, \"0.0.1\"}]\nend\n```\n\nYou should also update your application list to include `:phoenix_pubsub_rabbitmq`:\n\n```elixir\ndef application do\n  [applications: [:phoenix_pubsub_rabbitmq]]\nend\n```\n\nEdit your Phoenix application Endpoint configuration:\n\n      config :my_app, MyApp.Endpoint,\n        ...\n        pubsub: [name: MyApp.PubSub,\n                 adapter: Phoenix.PubSub.RabbitMQ,\n                 options: [host: \"localhost\"]\n\n\nThe following options are supported:\n\n      * `host` - The hostname of the broker (defaults to \\\"localhost\\\");\n      * `port` - The port the broker is listening on (defaults to `5672`);\n      * `username` - The name of a user registered with the broker (defaults to \\\"guest\\\");\n      * `password` - The password of user (defaults to \\\"guest\\\");\n      * `virtual_host` - The name of a virtual host in the broker (defaults to \\\"/\\\");\n      * `heartbeat` - The connection hearbeat interval in seconds (defaults to `0` - turned off);\n      * `connection_timeout` - The connection timeout in milliseconds (defaults to `infinity`);\n      * `pool_size` - Number of active connections to the broker\n\n## Notes\n\n  * An Exchange is declared with the name of the Phoenix PubSub server (example: MyApp.PubSub)\n  * When subscribing to a topic:\n      * a Queue with a server assigned name is declared;\n      * the Queue is bound to the Exchange using the `topic` as routing key;\n      * a consumer process is started. The consumer will ack each message in the Queue as it sends the payload to the subscriber pid;\n  * Can be used when distributed Erlang is not an option (like when deploying to Heroku); when RabbitMQ is already a dependency (instead of Redis);\n  * Uses RabbitMQ routing mechanism, delivering a message directly to a consumer process\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpma%2Fphoenix_pubsub_rabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpma%2Fphoenix_pubsub_rabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpma%2Fphoenix_pubsub_rabbitmq/lists"}