databricks/zerobus-sdk python/v1.2.0
databricks/zerobus-sdk
Captured source
source ↗published Apr 27, 2026seen Jun 26captured 3whttp 200method plain
Python SDK v1.2.0
Repository: databricks/zerobus-sdk
Tag: python/v1.2.0
Published: 2026-04-27T13:18:20Z
Prerelease: no
Release notes:
Major Changes
- License: Migrated from the Databricks License to the Apache License 2.0
New Features and Improvements
- Arrow Flight Support (Experimental): Added support for ingesting
pyarrow.RecordBatchandpyarrow.Tableobjects via Arrow Flight protocol - Note: Arrow Flight is not yet supported by default from the Zerobus server side.
- New
ZerobusArrowStreamclass (sync inzerobus.sdk.sync, async inzerobus.sdk.aio) withingest_batch(),wait_for_offset(),flush(),close(),get_unacked_batches()methods - New
ArrowStreamConfigurationOptionsfor configuring Arrow streams (max inflight batches, recovery, timeouts) - New
create_arrow_stream()andrecreate_arrow_stream()methods on both sync and asyncZerobusSdk - Accepts both
pyarrow.RecordBatchandpyarrow.Table(Tables are combined to a single batch internally) - Arrow is opt-in: install via
pip install databricks-zerobus-ingest-sdk[arrow](requirespyarrow>=14.0.0) - Arrow types gated behind
_core.arrowsubmodule — not loaded unless pyarrow is installed - Available from both
zerobus.sdk.syncandzerobus.sdk.aio, and re-exported from top-levelzerobuspackage
Bug Fixes
- Fixed proto generation tool to skip reserved field numbers 19000-19999 for tables with more than 19000 columns
Internal Changes
- Bumped Rust SDK dependency to v1.0.1 with
arrow-flightfeature - Added
arrow-ipc,arrow-schema,arrow-array(v56.2.0) Rust dependencies for IPC serialization - Added PyO3 arrow module (
arrow.rs) withArrowStreamConfigurationOptions,ZerobusArrowStream,AsyncZerobusArrowStreampyclasses - Added Python-side serialization helpers in
zerobus.sdk.shared.arrow(_serialize_schema,_serialize_batch,_deserialize_batch)
API Changes
- Added
create_arrow_stream(table_name, schema, client_id, client_secret, options=None, headers_provider=None)to sync and asyncZerobusSdk - Added
recreate_arrow_stream(old_stream)to sync and asyncZerobusSdk - Added
ZerobusArrowStreamclass (sync and async variants) with methods:ingest_batch(),wait_for_offset(),flush(),close(),get_unacked_batches(), properties:is_closed,table_name - Added
ArrowStreamConfigurationOptionsclass with fields:max_inflight_batches,recovery,recovery_timeout_ms,recovery_backoff_ms,recovery_retries,server_lack_of_ack_timeout_ms,flush_timeout_ms,connection_timeout_ms - Added optional dependency:
pyarrow>=14.0.0viapip install databricks-zerobus-ingest-sdk[arrow]