vmware-go-kcl-v2/support/toolchain/HyperMake
Tao Jiang 2ca82c25ca Add support for providing custom checkpointer (#17)
* Add credential configuration for resources

Add credentials for Kinesis, DynamoDB and Cloudwatch. See the worker_test.go
to see how to use it.

Signed-off-by: Tao Jiang <taoj@vmware.com>

* Add support for providing custom checkpointer

Provide a new constructor for adding checkpointer instead of alway using
default dynamodb checkpointer.

The next step is to abstract out the Kinesis into a generic stream API and
this will be bigger change and will be addressed in different PR.

Test:
  Use the new construtor to inject dynamodb checkpointer and run the existing
  tests.

Signed-off-by: Tao Jiang <taoj@vmware.com>

* Add support for providing custom checkpointer

Provide a new constructor for adding checkpointer instead of alway using
default dynamodb checkpointer.

The next step is to abstract out the Kinesis into a generic stream API and
this will be bigger change and will be addressed in different PR.

Fix checkfmt error.

Test:
  Use the new construtor to inject dynamodb checkpointer and run the existing
  tests.

Signed-off-by: Tao Jiang <taoj@vmware.com>
2021-12-20 21:21:14 -06:00

28 lines
534 B
Text

---
format: hypermake.v0
name: go-kcl
description: VMWare Go-KCL Amazon Kinesis Client Library in Go
targets:
rebuild-toolchain:
description: build toolchain image
watches:
- docker
build: docker
cache: false
tags:
- vmware/go-kcl-toolchain:latest
push-toolchain:
description: push toolchain image
after:
- rebuild-toolchain
push:
- vmware/go-kcl-toolchain:latest
settings:
default-targets:
- rebuild-toolchain
docker:
image: 'vmware/go-kcl-toolchain:0.1.2'