Called to claim ownership of a list of partitions. This will return the list of partitions that were owned successfully.
The list of partition ownership this instance is claiming to own.
A list of partitions this instance successfully claimed ownership.
Lists all the checkpoints in a data store for a given namespace, eventhub and consumer group.
The fully qualified Event Hubs namespace. This is likely to be similar to
The event hub name.
The consumer group name.
Called to get the list of all existing partition ownership from the underlying data store. Could return empty results if there are is no existing ownership information.
The fully qualified Event Hubs namespace. This is likely to be similar to
The event hub name.
The consumer group name.
A list of partition ownership details of all the partitions that have/had an owner.
Updates the checkpoint in the data store for a partition.
The checkpoint.
Generated using TypeDoc
A checkpoint store stores and retrieves partition ownership information and checkpoint details for each partition in a given consumer group of an event hub instance.
Users are not meant to implement an
CheckpointStore
. Users are expected to choose existing implementations of this interface, instantiate it, and pass it to theEventHubConsumerClient
class constructor when instantiating a client. Users are not expected to use any of the methods on a checkpoint store, these are used internally by the client.Implementations of
CheckpointStore
can be found on npm by searching for packages with the prefix @azure/eventhub-checkpointstore-.