Update readme for checkpoint <EOM> (#53)
* remove ValidateCheckpoint * update for checkpoint can not customize retryer
This commit is contained in:
parent
d058203b6e
commit
b05f5b3ac6
1 changed files with 3 additions and 0 deletions
|
|
@ -105,6 +105,9 @@ ck, err := checkpoint.New(*app, *table, checkpoint.WithDynamoClient(myDynamoDbCl
|
|||
if err != nil {
|
||||
log.Fatalf("new checkpoint error: %v", err)
|
||||
}
|
||||
// Or we can provide your own Retryer to customize what triggers a retry inside checkpoint
|
||||
// See code in examples
|
||||
// ck, err := checkpoint.New(*app, *table, checkpoint.WithDynamoClient(myDynamoDbClient), checkpoint.WithRetryer(&MyRetryer{}))
|
||||
```
|
||||
|
||||
To leverage the DDB checkpoint we'll also need to create a table:
|
||||
|
|
|
|||
Loading…
Reference in a new issue