Skip to content

NoOpCheckpointer Methods

NoOpCheckpointer is used in EventDataGeneratorStreamProvider ecosystem to replace the default Checkpointer which requires a back end storage. In EventHubDataGeneratorStreamProvider, it is generating EventData on the fly when receiver pull messages from the queue, which means it doesn't support recoverable stream, hence check pointing won't bring much value there. So a checkpointer with no ops should be enough.

Load

View source
public Task<string> Load()
Loads the checkpoint.

Returns

The checkpoint.

Update(string, DateTime)

View source
public void Update(string offset, DateTime utcNow)
Updates the checkpoint.

Parameters

offsetstring
The offset.
utcNowDateTime
The current UTC time.