Rails ActiveJob and Sneakers

<p>A Rails (4.2) project has a RabbitMQ setup where background jobs are enqueued with&nbsp;<a href="https://github.com/ruby-amqp/bunny" rel="noopener ugc nofollow" target="_blank">bunny</a>&nbsp;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&nbsp;<a href="https://github.com/mperham/sidekiq" rel="noopener ugc nofollow" target="_blank">sidekiq</a>&nbsp;before and I&rsquo;d love to use it instead but thought this would be a great exercise. Enter&nbsp;<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>