aeden / eventbus-example-service-ruby

Example EventBus service in Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Example EventBus service in Ruby


Languages

Language:Ruby 100.0%