Amazon Kinesis Client for Go
These type checks were not doing anything - which was surfaced by a `go vet` run on the more recent Go version. errors.As with the second argument of type *error will always return true. I played a little bit with trying to get a working typecheck in this test, but it didn't really work because of issues with the fork github.com/Clever/syslogparser. Since that parser didn't update self-references to point to itself instead of the upstream, our errors returned by this are already not really working correctly - sometimes they are Clever/syslogparser.ParseError and sometimes jeromer/syslogparser.ParseError. Fixing the underlying problem is out of scope for right now. |
||
|---|---|---|
| .circleci | ||
| .github | ||
| batchconsumer | ||
| bin | ||
| cmd | ||
| decode | ||
| kcl | ||
| splitter | ||
| .gitignore | ||
| batchconsumer.properties | ||
| consumer.properties | ||
| go.mod | ||
| go.sum | ||
| golang.mk | ||
| Makefile | ||
| README.md | ||
| VERSION | ||
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.