The elements required to manage a Stream checkpoint inside a MySql data store
- Asp.Net Standard/Core Dependency Injection
- Use the provided
services.AddMySqlCheckpointManagement(Action<MySqlOptions>? options = null)
method
- Use the provided
Task SetCheckpoint(string checkpointName, long checkpoint, CancellationToken cancellationToken = default)
- An asynchronous function to call when setting the checkpoint
Task<long?> GetCheckpoint(string checkpointName, CancellationToken cancellationToken = default)
- An asynchronous function to call when getting the checkpoint
Task ClearCheckpoint(string checkpointName, CancellationToken cancellationToken = default)
- An asynchronous function to call when clearing the checkpoint