Amazon Kinesis Client for Go
AWS changed the format of the log stream for AWS Batch logs. This reflects that change. --- http://docs.aws.amazon.com/batch/latest/userguide/job_states.html Logs for RUNNING jobs are available in CloudWatch Logs; the log group is /aws/batch/job, and the log stream name format is jobDefinitionName/default/ecs_task_id (this format may change in the future). After a job reaches the RUNNING status, you can programmatically retrieve its log stream name with the DescribeJobs API operation. For more information, see View Log Data Sent to CloudWatch Logs in the Amazon CloudWatch Logs User Guide. By default, these logs are set to never expire, but you can modify the retention period. For more information, see Change Log Data Retention in CloudWatch Logs in the Amazon CloudWatch Logs User Guide. |
||
|---|---|---|
| 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.