{"id":28063520,"url":"https://github.com/ruby-amqp/mqtt_amqp091_interoperability_example","last_synced_at":"2025-05-12T12:11:50.168Z","repository":{"id":16130069,"uuid":"18875334","full_name":"ruby-amqp/mqtt_amqp091_interoperability_example","owner":"ruby-amqp","description":"A couple of scripts that demonstrate MQTT and AMQP 0-9-1 interoperability using RabbitMQ MQTT plugin","archived":false,"fork":false,"pushed_at":"2014-04-17T10:55:16.000Z","size":108,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-03-25T20:01:41.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CodesInChaos/Chaos.NaCl","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby-amqp.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}},"created_at":"2014-04-17T10:55:08.000Z","updated_at":"2018-03-21T09:31:37.000Z","dependencies_parsed_at":"2022-09-24T06:23:18.302Z","dependency_job_id":null,"html_url":"https://github.com/ruby-amqp/mqtt_amqp091_interoperability_example","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/ruby-amqp%2Fmqtt_amqp091_interoperability_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-amqp%2Fmqtt_amqp091_interoperability_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-amqp%2Fmqtt_amqp091_interoperability_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-amqp%2Fmqtt_amqp091_interoperability_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby-amqp","download_url":"https://codeload.github.com/ruby-amqp/mqtt_amqp091_interoperability_example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253736096,"owners_count":21955783,"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":"2025-05-12T12:11:49.691Z","updated_at":"2025-05-12T12:11:50.148Z","avatar_url":"https://github.com/ruby-amqp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AMQP 0-9-1 and MQTT interoperability using Ruby and RabbitMQ MQTT plugin\n\nThis is an example of RabbitMQ MQTT plugin in action. It has two parts:\n\n * A Ruby MQTT producer that connects to RabbitMQ and publishes messages.\n * A Ruby AMQP 0-9-1 consumer that subscribes to messages from the producer.\n\n## Libraries used\n\n * [Bunny](http://rubybunny.info)\n * [mqtt gem](https://github.com/njh/ruby-mqtt)\n\n## Getting started\n\nPre-requisites are\n\n * Having a RabbitMQ 3.0+ installed. See [RabbitMQ installation guide](http://www.rabbitmq.com/install.html) and [downloads](http://www.rabbitmq.com/download.html). On Mac OS X we recommend using [Homebrew](http://mxcl.github.com/homebrew):\n\n    brew install rabbitmq\n\n * Having a RabbitMQ MQTT plugin enabled. See [MQTT plugin docs](http://www.rabbitmq.com/stomp.html).\n\nThe install dependencies with Bundler:\n\n    gem install bundler\n\nand then, from Git repository root\n\n    bundle install\n\nFinally, run both scripts (in two shells), consumer first:\n\n    bundle exec ruby ./amqp091_consumer.rb\n\nand then the producer\n\n    bundle exec ruby ./mqtt_producer.rb\n\n## License\n\nCopyright (c) 2014, Michael S. Klishin\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-amqp%2Fmqtt_amqp091_interoperability_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby-amqp%2Fmqtt_amqp091_interoperability_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-amqp%2Fmqtt_amqp091_interoperability_example/lists"}