magellan-rails

MAGELLAN adapter for Ruby on Rails framework.

MAGELLAN: https://www.magellanic-clouds.com/

Usage

Add the following line into your Gemfile and execute bundle install.

gem "magellan-rails"

And add the following line into config/application.rb in your Rails application.

require "magellan/rails"

See Tutorial for more details. http://devcenter.magellanic-clouds.com/getting-started/ch05-03.html (Japanese only)

Environment Variables

Environment Variable Default Description
MAGELLAN_HTTP_WORKER 1 1/true/yes/on for load HTTP worker models. 0/false/no/off for suppress loading models for HTTP worker
MAGELLAN_SUBSCRIBER_WORKER 1 1/true/yes/on for load Subscriber(MQTT) worker models. 0/false/no/off for suppress loading models for Subscriber(MQTT) worker
MAGELLAN_RAILS_AMQP_RECONNECT_TIMEOUT 300 How long wait for AMQP reconnect in seconds.