as per https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.KCLAdapter.Walkthrough.html
we could leverage https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/java/example_code/dynamodb
and replay kinesis instead of DynamoDB stream
(we'd need a spark version of above though)
advantage is that kinesis stream can have 1 month old history and can replay from a timestamp