Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

An example consumer for Changestream using Circuitry

Notifications You must be signed in to change notification settings

mavenlink/changestream-circuitry-example

Repository files navigation

Changestream Worker Example

This is an example consumer for Changestream that makes use of circuitry fan-out messaging for Changestream events. It is based on the Circuitry example project.

Installation

  1. Clone this repository: git clone git@github.com:mavenlink/changestream-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`
    

About

An example consumer for Changestream using Circuitry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages