Skip to main content

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.
Here’s how the recovery process works:
  1. Record the timestamp for each message as an offset.
  2. During recovery, seek back to the specific timestamp and consume messages again from the topic.
If two messages are produced almost at the same time, it is possible to receive each message more than once.

Examples