You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/eventhub/azure-eventhub-checkpointstoretable/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,13 @@
5
5
Azure EventHubs Checkpoint Store is used for storing checkpoints while processing events from Azure Event Hubs.
6
6
This Checkpoint Store package works as a plug-in package to `EventHubConsumerClient`. It uses Azure Tables as the persistent store for maintaining checkpoints and partition ownership information.
7
7
8
+
9
+
# Getting started
10
+
8
11
## _Disclaimer_
9
12
10
13
_Azure SDK Python packages support for Python 2.7 is ending 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
Copy file name to clipboardExpand all lines: sdk/eventhub/azure-eventhub-checkpointstoretable/azure/eventhub/extensions/checkpointstoretable/_tablestoragecs.py
+39-38Lines changed: 39 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -226,16 +226,16 @@ def list_ownership(
226
226
relative to the Event Hubs namespace that contains it.
227
227
:param str consumer_group: The name of the consumer group the ownerships are associated with.
228
228
:rtype: Iterable[Dict[str, Any]], Iterable of dictionaries containing partition ownership information:
229
-
- `fully_qualified_namespace` (str): The fully qualified namespace that the Event Hub belongs to.
230
-
The format is like "<namespace>.servicebus.windows.net".
231
-
- `eventhub_name` (str): The name of the specific Event Hub the checkpoint is associated with,
232
-
relative to the Event Hubs namespace that contains it.
233
-
- `consumer_group` (str): The name of the consumer group the ownership are associated with.
234
-
- `partition_id` (str): The partition ID which the checkpoint is created for.
235
-
- `owner_id` (str): A UUID representing the current owner of this partition.
236
-
- `last_modified_time` (float): The last time this ownership was claimed.
237
-
- `etag` (str): The Etag value for the last time this ownership was modified. Optional depending
238
-
on storage implementation.
229
+
- `fully_qualified_namespace` (str): The fully qualified namespace that the Event Hub belongs to.
230
+
The format is like "<namespace>.servicebus.windows.net".
231
+
- `eventhub_name` (str): The name of the specific Event Hub the checkpoint is associated with,
232
+
relative to the Event Hubs namespace that contains it.
233
+
- `consumer_group` (str): The name of the consumer group the ownership are associated with.
234
+
- `partition_id` (str): The partition ID which the checkpoint is created for.
235
+
- `owner_id` (str): A UUID representing the current owner of this partition.
236
+
- `last_modified_time` (float): The last time this ownership was claimed.
237
+
- `etag` (str): The Etag value for the last time this ownership was modified. Optional depending
238
+
on storage implementation.
239
239
"""
240
240
try:
241
241
partition_key="{} {} {} Ownership".format(
@@ -282,14 +282,14 @@ def list_checkpoints(
282
282
the Event Hubs namespace that contains it.
283
283
:param str consumer_group: The name of the consumer group the checkpoints are associated with.
284
284
:rtype: Iterable[Dict[str,Any]], Iterable of dictionaries containing partition checkpoint information:
285
-
- `fully_qualified_namespace` (str): The fully qualified namespace that the Event Hub belongs to.
286
-
The format is like "<namespace>.servicebus.windows.net".
287
-
- `eventhub_name` (str): The name of the specific Event Hub the checkpoints are associated with,
288
-
relative to the Event Hubs namespace that contains it.
289
-
- `consumer_group` (str): The name of the consumer group the checkpoints are associated with.
290
-
- `partition_id` (str): The partition ID which the checkpoint is created for.
291
-
- `sequence_number` (int): The sequence number of the :class:`EventData<azure.eventhub.EventData>`.
292
-
- `offset` (str): The offset of the :class:`EventData<azure.eventhub.EventData>`.
285
+
- `fully_qualified_namespace` (str): The fully qualified namespace that the Event Hub belongs to.
286
+
The format is like "<namespace>.servicebus.windows.net".
287
+
- `eventhub_name` (str): The name of the specific Event Hub the checkpoints are associated with,
288
+
relative to the Event Hubs namespace that contains it.
289
+
- `consumer_group` (str): The name of the consumer group the checkpoints are associated with.
290
+
- `partition_id` (str): The partition ID which the checkpoint is created for.
291
+
- `sequence_number` (int): The sequence number of the :class:`EventData<azure.eventhub.EventData>`.
292
+
- `offset` (str): The offset of the :class:`EventData<azure.eventhub.EventData>`.
0 commit comments