Syntax
Parameters
We can only achieve at-least-once semantic for the Pub/Sub source rather than exactly once because the SDK cannot seek back to a specific message offset.
- Record the timestamp for each message as an offset.
- During recovery, seek back to the specific timestamp and consume messages again from the topic.