Amazon Kinesis Client for Go
Find a file
Taylor Sutton de490c45ab Remove faulty error type checks.
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.
2023-07-19 11:19:50 -07:00
.circleci Update to Go 1.16 and fix broken go.mod mod declaration 2023-07-19 10:46:03 -07:00
.github Microplane: add Github Action workflow for ci-notify 2022-03-29 15:12:09 -07:00
batchconsumer Refactor zlib decompression into the splitter package 2020-11-12 11:37:13 -05:00
bin dep -> go modules 2021-06-03 15:41:20 -07:00
cmd Merge pull request #33 from wwwjfy/fix-shutdown-requested 2018-12-11 16:28:37 -08:00
decode Remove faulty error type checks. 2023-07-19 11:19:50 -07:00
kcl Merge pull request #33 from wwwjfy/fix-shutdown-requested 2018-12-11 16:28:37 -08:00
splitter Fix gofmt. 2023-07-19 11:19:41 -07:00
.gitignore Added vendor to .gitignore 2017-05-22 22:57:34 +00:00
batchconsumer.properties Implemented new consumer interface as well as example consumer: 'batchconsumer' 2017-07-18 02:03:15 +00:00
consumer.properties initial commit 2017-02-08 20:23:00 +00:00
go.mod Update to Go 1.16 and fix broken go.mod mod declaration 2023-07-19 10:46:03 -07:00
go.sum Update to Go 1.16 and fix broken go.mod mod declaration 2023-07-19 10:46:03 -07:00
golang.mk Remove faulty error type checks. 2023-07-19 11:19:50 -07:00
Makefile Update to Go 1.16 and fix broken go.mod mod declaration 2023-07-19 10:46:03 -07:00
README.md initial commit 2017-02-08 20:23:00 +00:00
VERSION add versioning 2021-03-04 10:11:51 -08:00

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.