Skip to content

oceanhq/streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streams Service PoC

A quick proof-of-concept implementation of the Streams service. See the docs for this API.

Getting Started

This service should work with minimal setup if you already have your Go environment set up. If not, see the Go Getting Started guide.

  1. Install gin
  • go get github.com/codegangsta/gin
  1. Run with gin (ensure your pwd is this cloned repo)
  • gin
  1. Test the server
  • curl http://127.0.0.1:3000/streams

Running on SNS/SQS

To run on SQS/SNS you'll need to provide a valid AWS account #, Access Key ID, and Secret Access Key in your .env.

Additionally, the app expects two DynamoDB tables on that account:

  • ocean-streams
  • ocean-cursors

Finally, you'll want to build with the sqs tag. To manage this, I recommend using my fork of gin.

go get github.com/tobyjsullivan/gin
go install github.com/tobyjsullivan/gin
gin -tags sqs

About

A simple streams service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages