skillfed

azure-eventhub-checkpointstoreblob-aio

Microsoft Azure Event Hubs checkpointer implementation with Blob Storage Client Library for Python

azure-eventhub-checkpointstoreblob-aio v1.2.0 730.6K downloads/30d#5,211 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

This package integrates Azure Blob Storage as a checkpoint store for async Event Hubs consumers. When processing events from Azure Event Hubs, consumers need to track their position (offset) within each partition so they can resume from the correct location after a restart or failover. This package provides the BlobCheckpointStore class, which persists that state in Azure Blob Storage blobs, allowing multiple consumer instances to coordinate partition ownership and maintain event stream position across restarts.

The package is designed as a plug-in for EventHubConsumerClient and handles the mechanics of storing and retrieving checkpoint data asynchronously. It depends on azure-eventhub for the consumer client interface and aiohttp for async HTTP operations. It is the async-only variant; a synchronous version exists separately.

Use it for:

  • Distributed event processing where multiple consumer instances need to coordinate partition assignment and resume from the last processed offset after restarts.
  • Building resilient event pipelines that can survive consumer failures without losing or replaying large event batches.
  • Implementing event stream replay by resetting checkpoints to earlier offsets when reprocessing is needed.
  • Auditing and compliance scenarios where you need persistent records of which events have been processed by which consumer groups.
  • Multi-region or multi-instance deployments where checkpoint state must be shared across consumer instances via a durable store.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Stores checkpoints and partition ownership for Azure Event Hubs consumers using Azure Blob Storage as the persistent backend, enabling async event processing with automatic failover and replay capability.

Yes. This is a stable, actively maintained package from Microsoft's official Azure SDK with no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you are building an async Event Hubs consumer application and need reliable checkpoint persistence—it is the standard way to do so on Azure.

Install

azure-eventhub-checkpointstoreblob-aio on PyPI

pip

pip install azure-eventhub-checkpointstoreblob-aio

uv

uv add azure-eventhub-checkpointstoreblob-aio

poetry

poetry add azure-eventhub-checkpointstoreblob-aio

Installing azure-eventhub-checkpointstoreblob-aio

Before you install

Low friction install with six runtime dependencies, all from the Azure SDK ecosystem. Actively maintained with recent releases; the repo is current and has substantial community engagement.

License in practice

MIT License permits commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you include the license notice.

Quickstart

pip install azure-eventhub-checkpointstoreblob-aio

from azure.eventhub.aio import EventHubConsumerClient
from azure.eventhub.extensions.checkpointstoreblobaio import BlobCheckpointStore

checkpoint_store = BlobCheckpointStore.from_connection_string(
    storage_connection_str, container_name
)
client = EventHubConsumerClient.from_connection_string(
    connection_str, consumer_group,
    eventhub_name=eventhub_name,
    checkpoint_store=checkpoint_store
)

Requires Python 3.8 or later; requires active Azure Event Hubs namespace, Event Hub, and Azure Storage Blob container with appropriate connection strings.

Verify before relying

  • Performance characteristics when checkpointing at scale (e.g., throughput, latency impact per partition).
  • Behavior and recovery time when storage connectivity is temporarily lost during event processing.
  • Whether the package supports custom storage API versions beyond the default 2019-07-07.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 6 — azure-core, cryptography, typing-extensions, isodate, azure-eventhub, aiohttp
Maintenance actively maintained — 547 days since the last release
Last repo commit
First released
Downloads 730,558/month — #5,211 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_eventhub_checkpointstoreblob_aio-1.2.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure event hubs checkpoint storeevent hubs consumer checkpointingblob storage checkpoint managementazure eventhub async consumerdistributed event processing statepartition offset tracking azureevent stream replay and failover
azure-sdkasync-ioevent-streaming

More Distributed Computing packages

grpcio

gRPC Python is an HTTP/2-based RPC framework…

permissive · top 100 on PyPI

execnet

execnet lets you spawn and communicate with…

permissive · top 1,000 on PyPI

cloudpickle

Cloudpickle extends Python's standard pickle…

permissive · top 1,000 on PyPI

smart-open

Provides a unified, open()-compatible Python…

permissive · top 1,000 on PyPI

portalocker

Portalocker provides cross-platform file…

permissive · top 1,000 on PyPI

ray

Ray is a distributed computing framework that…

permissive · top 1,000 on PyPI

azure-eventhub-checkpointstoreblob

Provides a checkpoint store implementation for…

permissive · top 15,000 on PyPI

azure-eventhub

Publishes and consumes events from Azure Event…

unclear · top 5,000 on PyPI

azure-mgmt-eventhub

Manages Azure Event Hub resources—namespaces,…

permissive · top 5,000 on PyPI

orbax-checkpoint

Orbax Checkpoint provides asynchronous…

permissive · top 5,000 on PyPI

metaflow-checkpoint

Provides decorators for Metaflow workflows to…

unclear · top 15,000 on PyPI

azure-storage-blob

Client library for uploading, downloading, and…

permissive · top 1,000 on PyPI

agent-framework-azure-cosmos

Provides Azure Cosmos DB integration for the…

permissive · top 15,000 on PyPI

azure-schemaregistry

Registers, retrieves, and manages schemas in…

permissive · top 5,000 on PyPI

langgraph-checkpoint-redis

Provides Redis-backed checkpoint storage and…

permissive · top 5,000 on PyPI

aiopulse

Asynchronous Python library for controlling…

permissive · top 15,000 on PyPI