vmware-go-kcl-v2/clientlibrary
Tao Jiang fa0bbc42fe Update worker to let it inject checkpointer and kinesis (#28)
* Update worker to let it inject checkpointer and kinesis

Add two functions to inject checkpointer and kinesis for custom
implementation or adding mock for unit test.

This change also remove the worker_custom.go since it is no longer
needed.

Test:
  Update the integration tests to cover newly added functions.

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

* Fix typo on the test function

Signed-off-by: Tao Jiang <taoj@vmware.com>
2021-12-20 21:21:14 -06:00
..
checkpoint Use AWS built-in retry logic and refactor tests (#24) 2021-12-20 21:21:14 -06:00
common KCL: Update copyright and permission 2021-12-20 21:16:27 -06:00
config Add credential configuration for resources (#14) 2021-12-20 21:21:14 -06:00
interfaces KCL: Update copyright and permission 2021-12-20 21:16:27 -06:00
metrics Add credential configuration for resources (#14) 2021-12-20 21:21:14 -06:00
partition Add support for providing custom checkpointer (#17) 2021-12-20 21:21:14 -06:00
utils KCL: Fix random number generator 2021-12-20 21:16:38 -06:00
worker Update worker to let it inject checkpointer and kinesis (#28) 2021-12-20 21:21:14 -06:00