ZqliteWatermarkService class
Home > @cbnsndwch/zero-watermark-zqlite > ZqliteWatermarkService
ZqliteWatermarkService class
Signature:
declare class ZqliteWatermarkService implements IWatermarkServiceImplements: IWatermarkService
Constructors
Constructor
Modifiers
Description
Constructs a new instance of the ZqliteWatermarkService class
Methods
Method
Modifiers
Description
Private, exposed for testing purposes only
getOrCreateWatermark(shardId, resumeToken)
Retrieves an existing watermark for the given shard ID and resume token, or creates a new one if it does not exist.
getResumeToken(shardId, watermark)
Retrieves the change stream resume token for a given shard and watermark.
How was this page?