Skip to content

kapost/circuitry-example

Repository files navigation

Circuitry Example

This is an example application that makes use of circuitry fan-out messaging.

Installation

  1. Clone this repository: git clone git@github.com:kapost/circuitry-example.git
  2. Update environment variables:
  • cp .env.example .env
  • Edit .env to set your AWS access/secret keys. (Note that you'll need an AWS account with rights to create/manage SQS and SNS.)
  1. Install gems: bundle install

Usage

  1. Run the subscriber. (Note that this is a long-running process that must be exited via Ctrl+C.)

     bundle exec ruby ./subscriber.rb`
    
  2. Run the publisher.

     `bundle exec ruby ./publisher.rb`
    

About

Example implementation of a circuitry enabled app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages