Home

Awesome

Example of communication between Sidekiq and Exq

Exq can work alongside Sidekiq. This demo app shows how to construct communication between these tools.

The aim is to have a Sidekiq as a client that creates jobs and Exq a a server that processes these jobs.

There are two applications here:

  1. rails_app
  2. elixir_app

To start you must pass these steps:

  1. in Rails app:
  1. in Elixir app:
  1. curl -X POST -F "job[id]=1" -F "job[title]=test213" -F "job[value]=123" 'http://localhost:3000/jobs'

In console with hanging elixir app you must see JobWorker called with id: 1, title: test213, value: 123