/eventbus-example-service-ruby

Example EventBus service in Ruby

Primary LanguageRuby

Introduction

This is a Ruby event handler that can attach to the EventBus system and process events.

Installation

If necessary, install bunder:

gem install bundler --no-ri --no-rdoc

Next, run bundler install:

bundle install

Running

To start, set up .env as follows:

AUTHORIZATION_TOKEN=123abcDFE

You should change the token if you change it in the EventBus service config.

Once .env is set up, run foreman start

Notes

Retry Logic

The current retry logic backs off connection retries for N * 1 second, where N is the retry count. It will stop retrying after a certain number of retries.