michael-erasmus / docker-local-kinesis

Docker build for running a stub AWS Kinesis service for testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-local-kinesis

Docker build for running a local test AWS Kinesis service, using Kinesalite

Based on this great starting point: vsouza/docker-Kinesis-local

Usage

Start a local kinesis service

docker run -it --rm --net=host michaelerasmus/local-kinesis --port 4567

To test it. Make sure you have aws-cli installed

aws kinesis list-streams --endpoint-url http://localhost:4567

You can pass in config parameters: (see Kinesalite doc)*

docker run -d -p 4567:4567  michael-erasmus/local-kinesis --port 4567 --createStreaMs 5`

Building the image locally:

git clone https://github.com/michael-erasmus/docker-local-kinesis
cd docker-local-kinesis
docker build -t michaelerasmus/docker-local-kinesis .

Using a custom Dockerfile:

FROM michaelerasmus/docker-local-kinesis

#Customize things here

License

MIT License © 2017 Michael Erasmus

About

Docker build for running a stub AWS Kinesis service for testing

License:MIT License