@azure/eventhubs-checkpointstore-table 1.0.0-alpha.20241121.1 → 1.0.0-alpha.20241126.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.11"
8
+ "packageVersion": "7.48.0"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azure/eventhubs-checkpointstore-table",
3
3
  "sdk-type": "client",
4
- "version": "1.0.0-alpha.20241121.1",
4
+ "version": "1.0.0-alpha.20241126.1",
5
5
  "description": "An Azure Storage Table solution to store checkpoints when using Event Hubs.",
6
6
  "author": "Microsoft Corporation",
7
7
  "license": "MIT",
@@ -1,69 +0,0 @@
1
- import { AzureLogger } from '@azure/logger';
2
- import type { Checkpoint } from '@azure/event-hubs';
3
- import type { CheckpointStore } from '@azure/event-hubs';
4
- import type { PartitionOwnership } from '@azure/event-hubs';
5
- import type { TableClient } from '@azure/data-tables';
6
-
7
- /**
8
- * The `@azure/logger` configuration for this package.
9
- * This will output logs using the `azure:eventhubs-checkpointstore-table` namespace prefix.
10
- */
11
- export declare const logger: AzureLogger;
12
-
13
- /**
14
- * An implementation of CheckpointStore that uses Azure Table Storage to persist checkpoint data.
15
- */
16
- export declare class TableCheckpointStore implements CheckpointStore {
17
- private _tableClient;
18
- constructor(tableClient: TableClient);
19
- /**
20
- * Get the list of all existing partition ownership from the underlying data store. May return empty
21
- * results if there are is no existing ownership information.
22
- * Partition Ownership contains the information on which `EventHubConsumerClient` subscribe call is currently processing the partition.
23
- *
24
- * @param fullyQualifiedNamespace - The fully qualified Event Hubs namespace. This is likely to be similar to
25
- * <yournamespace>.servicebus.windows.net.
26
- * @param eventHubName - The event hub name.
27
- * @param consumerGroup - The consumer group name.
28
- * @param options - A set of options that can be specified to influence the behavior of this method.
29
- * - `abortSignal`: A signal used to request operation cancellation.
30
- * - `tracingOptions`: Options for configuring tracing.
31
- * @returns Partition ownership details of all the partitions that have had an owner.
32
- */
33
- listOwnership(fullyQualifiedNamespace: string, eventHubName: string, consumerGroup: string): Promise<PartitionOwnership[]>;
34
- /**
35
- * Claim ownership of a list of partitions. This will return the list of partitions that were
36
- * successfully claimed.
37
- *
38
- * @param partitionOwnership - The list of partition ownership this instance is claiming to own.
39
- * @param options - A set of options that can be specified to influence the behavior of this method.
40
- * - `abortSignal`: A signal used to request operation cancellation.
41
- * - `tracingOptions`: Options for configuring tracing.
42
- * @returns A list partitions this instance successfully claimed ownership.
43
- */
44
- claimOwnership(partitionOwnership: PartitionOwnership[]): Promise<PartitionOwnership[]>;
45
- /**
46
- * Lists all the checkpoints in a data store for a given namespace, eventhub and consumer group.
47
- *
48
- * @param fullyQualifiedNamespace - The fully qualified Event Hubs namespace. This is likely to be similar to
49
- * <yournamespace>.servicebus.windows.net.
50
- * @param eventHubName - The event hub name.
51
- * @param consumerGroup - The consumer group name.
52
- * @param options - A set of options that can be specified to influence the behavior of this method.
53
- * - `abortSignal`: A signal used to request operation cancellation.
54
- * - `tracingOptions`: Options for configuring tracing.
55
- */
56
- listCheckpoints(fullyQualifiedNamespace: string, eventHubName: string, consumerGroup: string): Promise<Checkpoint[]>;
57
- /**
58
- * Updates the checkpoint in the data store for a partition.
59
- *
60
- * @param checkpoint - The checkpoint.
61
- * @param options - A set of options that can be specified to influence the behavior of this method.
62
- * - `abortSignal`: A signal used to request operation cancellation.
63
- * - `tracingOptions`: Options for configuring tracing.
64
- * @returns A promise that resolves when the checkpoint has been updated.
65
- */
66
- updateCheckpoint(checkpoint: Checkpoint): Promise<void>;
67
- }
68
-
69
- export { }