* Add LeaseRefreshSpanMillis in configuration For certain use cases of KCL the hard-coded value of 5s value, representing the time span before the end of a lease timeout in which the current owner gets to renew its own lease, is not sufficient. When the time taken by ProcessRecords is higher than 5s, the lease gets lost and the shard may end up to another worker. This commit adds a new configuration value, that defaults to 5s, to let the user set this value to its own needs. Signed-off-by: Aurélien Rainone <aurelien.rainone@gmail.com> * Slight code simplification Or readability improvement Signed-off-by: Aurélien Rainone <aurelien.rainone@gmail.com> |
||
|---|---|---|
| .. | ||
| checkpointer.go | ||
| dynamodb-checkpointer.go | ||
| dynamodb-checkpointer_test.go | ||