Amazon Kinesis Client for Go
Filtering by env was an artifact of the previous way we originally had setup our CWLogs subscriptions, assuming that we could have multiple subscriptions per stream. :( You can't. Let's instead allow any CWLogs subscription's logs to be valid, which is needed for: https://github.com/Clever/kinesis-cwlogs-splitter/pull/1 |
||
|---|---|---|
| batchconsumer | ||
| cmd | ||
| decode | ||
| kcl | ||
| splitter | ||
| .gitignore | ||
| batchconsumer.properties | ||
| circle.yml | ||
| consumer.properties | ||
| glide.lock | ||
| glide.yaml | ||
| golang.mk | ||
| Makefile | ||
| README.md | ||
amazon-kinesis-client-go
A port of amazon-kinesis-client-python to Go.
Running the Consumer
Edit the file consumer.properties to point at a Kinesis stream that has some data.
Build the consumer binary:
make build
Then run:
make run
This will download the jar files necessary to run the KCL, and then launch the KCL communicating with the consumer binary.