Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

empty checkpoint files for azure eventhub

I am using BlobCheckpointStore to do checkpoint for azure eventhub using the official tutorial: https://learn.microsoft.com/en-us/python/api/overview/azure/eventhub-checkpointstoreblob-readme?view=azure-python#consume-events-using-a-blobcheckpointstore-to-do-checkpoint

But then when I checked my blob storage where the checkpoint files are held, it only has two folders: checkpoint and ownership each of which contains empty files with files name like 0, 1, etc. In this case, how the offsets and sequence numbers are stored if they are all empty files?

like image 932
derek Avatar asked Sep 02 '25 16:09

derek


1 Answers

The blobs are intentionally empty. Checkpoint and ownership information is stored as metadata attributes on the blobs rather than content. This allows us to read the data without having to download the content and deserialize or parse the resulting text.

like image 188
Jesse Squire Avatar answered Sep 05 '25 14:09

Jesse Squire