databricks/zerobus-sdk ffi/v1.2.0
databricks/zerobus-sdk
Captured source
source ↗published May 19, 2026seen Jun 26captured 3whttp 200method plain
FFI Libraries v1.2.0
Repository: databricks/zerobus-sdk
Tag: ffi/v1.2.0
Published: 2026-05-19T13:19:34Z
Prerelease: no
Release notes:
Major Changes
New Features and Improvements
- Arrow stream options (C API):
CArrowStreamConfigurationOptions.stream_paused_max_wait_time_ms(int64_t) configures graceful-close paused wait:-1= None (full server duration),0= immediate recovery,>0= capped wait (seezerobus.hcomments). - Zero-copy Arrow IPC ingestion:
zerobus_arrow_stream_ingest_batchnow forwards IPC bytes directly viaingest_ipc_batch, skipping the deserialization round-trip. Usezerobus_arrow_stream_ingest_batch_via_record_batchfor compression-enabled streams. - Fire-and-forget ingestion: Added nowait variants that spawn a background task and return immediately —
zerobus_stream_ingest_proto_record_nowait,zerobus_stream_ingest_json_record_nowait,zerobus_stream_ingest_proto_records_nowait,zerobus_stream_ingest_json_records_nowait.
Bug Fixes
- Arrow IPC compression fix: Added
zerobus_arrow_stream_ingest_batch_via_record_batchfor streams created withLZ4_FRAMEorZSTDcompression. The existingzerobus_arrow_stream_ingest_batchuses the zero-copy path and does not apply compression; callers must use the new function when compression is configured. This fixes a regression where compression was silently ignored.
Documentation
Internal Changes
Breaking Changes
Deprecations
API Changes
- Added
zerobus_arrow_stream_ingest_batch_via_record_batch(stream, ipc_bytes, ipc_len, result)for compression-enabled Arrow streams. - Added
zerobus_stream_ingest_proto_record_nowait,zerobus_stream_ingest_json_record_nowait,zerobus_stream_ingest_proto_records_nowait,zerobus_stream_ingest_json_records_nowaitfor fire-and-forget ingestion.