Rails ActiveJob and Sneakers
<p>A Rails (4.2) project has a RabbitMQ setup where background jobs are enqueued with <a href="https://github.com/ruby-amqp/bunny" rel="noopener ugc nofollow" target="_blank">bunny</a> and consumed by non-ruby-rails worker processes. The goal here is to bring the workers into Rails project as ActiveJobs but keep using the RabbitMQ as the message broker. I have used <a href="https://github.com/mperham/sidekiq" rel="noopener ugc nofollow" target="_blank">sidekiq</a> before and I’d love to use it instead but thought this would be a great exercise. Enter <a href="https://github.com/jondot/sneakers" rel="noopener ugc nofollow" target="_blank">sneakers</a>.</p>
<p>First thing to do is to tell Rails to use sneakers as background job processor by setting the configuration attribute.</p>
<p><a href="https://medium.com/@dongwookkoo/rails-activejob-and-sneakers-9b8625e778eb"><strong>Website</strong></a></p>