{"id":26164708,"url":"https://github.com/optum/legion-transport","last_synced_at":"2025-04-14T15:22:09.767Z","repository":{"id":56880959,"uuid":"372973620","full_name":"Optum/legion-transport","owner":"Optum","description":"The LegionIO connection gem to connect any extension with the transport tier","archived":false,"fork":false,"pushed_at":"2021-06-09T19:20:55.000Z","size":26,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T15:22:01.881Z","etag":null,"topics":["amqp","legionio","queue","rabbitmq","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Optum.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2021-06-01T22:13:11.000Z","updated_at":"2021-06-09T17:57:42.000Z","dependencies_parsed_at":"2022-08-20T22:31:20.449Z","dependency_job_id":null,"html_url":"https://github.com/Optum/legion-transport","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Flegion-transport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Flegion-transport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Flegion-transport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Flegion-transport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Optum","download_url":"https://codeload.github.com/Optum/legion-transport/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904627,"owners_count":21180836,"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":["amqp","legionio","queue","rabbitmq","ruby"],"created_at":"2025-03-11T15:39:48.959Z","updated_at":"2025-04-14T15:22:09.741Z","avatar_url":"https://github.com/Optum.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Legion::Transport\n=====\n\nLegion::Transport is the gem responsible for connecting LegionIO to the FIFO queue system(RabbitMQ over AMQP 0.9.1)\n\nSupported Ruby versions and implementations\n------------------------------------------------\n\nLegion::Transport should work identically on:\n\n* JRuby 9.2+\n* Ruby 2.4+\n\n\nInstallation and Usage\n------------------------\n\nYou can verify your installation using this piece of code:\n\n```bash\ngem install legion-transport\n```\n\n```ruby\nrequire 'legion/transport'\nconn = Legion::Transport::Connection\nconn.setup\nconn.channel # =\u003e ::Bunny::Channel\nconn.session # =\u003e ::Bunny::Session\n```\n\nSettings\n----------\n\n```json\n{\n  \"type\": \"rabbitmq\",\n  \"connected\": false,\n  \"logger_level\": \"info\",\n  \"messages\": {\n    \"encrypt\": false,\n    \"ttl\": null,\n    \"priority\": 0,\n    \"persistent\": true\n  },\n  \"prefetch\": 2,\n  \"exchanges\": {\n    \"type\": \"topic\",\n    \"arguments\": {},\n    \"auto_delete\": false,\n    \"durable\": true,\n    \"internal\": false\n  },\n  \"queues\": {\n    \"manual_ack\": true,\n    \"durable\": true,\n    \"exclusive\": false,\n    \"block\": false,\n    \"auto_delete\": false,\n    \"arguments\": {\n      \"x-max-priority\": 255,\n      \"x-overflow\": \"reject-publish\"\n    }\n  },\n  \"connection\": {\n    \"read_timeout\": 1,\n    \"heartbeat\": 30,\n    \"automatically_recover\": true,\n    \"continuation_timeout\": 4000,\n    \"network_recovery_interval\": 1,\n    \"connection_timeout\": 1,\n    \"frame_max\": 65536,\n    \"user\": \"guest\",\n    \"password\": \"guest\",\n    \"host\": \"127.0.0.1\",\n    \"port\": \"5672\",\n    \"vhost\": \"/\",\n    \"recovery_attempts\": 100,\n    \"logger_level\": \"info\",\n    \"connected\": false\n  },\n  \"channel\": {\n    \"default_worker_pool_size\": 1,\n    \"session_worker_pool_size\": 8\n  }\n}\n```\nAuthors\n----------\n\n* [Matthew Iverson](https://github.com/Esity) - current maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptum%2Flegion-transport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptum%2Flegion-transport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptum%2Flegion-transport/lists"}