ReleaseDatabricks (DBRX)Databricks (DBRX)published Apr 23, 2026seen Jun 26

databricks/zerobus-sdk java/v1.1.0

databricks/zerobus-sdk

Open original ↗

Captured source

source ↗
published Apr 23, 2026seen Jun 26captured 3whttp 200method plain

Java SDK v1.1.0

Repository: databricks/zerobus-sdk

Tag: java/v1.1.0

Published: 2026-04-23T15:17:26Z

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 Apache Arrow VectorSchemaRoot batches via Arrow Flight protocol
  • Note: Arrow Flight is not yet supported by default from the Zerobus server side.
  • New ZerobusArrowStream class with ingestBatch(), waitForOffset(), flush(), close(), getUnackedBatches() methods
  • New ArrowStreamConfigurationOptions for configuring Arrow streams (max inflight batches, recovery, timeouts, IPC compression)
  • Configurable IPC compression via ArrowStreamConfigurationOptions.setIpcCompression() (supports LZ4_FRAME and ZSTD)
  • New createArrowStream() and recreateArrowStream() methods on ZerobusSdk
  • Accepts VectorSchemaRoot directly via ingestBatch() (IPC serialization handled internally)
  • Arrow is opt-in: add arrow-vector and arrow-memory-netty as dependencies (provided scope, >= 15.0.0)

Bug Fixes

  • Classloader Isolation Compatibility: Fixed NoClassDefFoundError when using the SDK inside Spring Boot. JNI class references are now cached as GlobalRefs during JNI_OnLoad, so native daemon threads no longer rely on FindClass through the system classloader.
  • Fixed proto generation tool to skip reserved field numbers 19000-19999 for tables with more than 19000 columns

Internal Changes

  • Added arrow-vector 17.0.0 as provided dependency for Arrow Flight support
  • Added arrow-memory-netty 17.0.0 as test dependency for integration tests
  • Uses existing JNI Arrow Flight bindings from Rust SDK (nativeCreateArrowStream, nativeIngestBatch, etc.)

API Changes

  • Added createArrowStream(String tableName, Schema schema, String clientId, String clientSecret) to ZerobusSdk
  • Added createArrowStream(String tableName, Schema schema, String clientId, String clientSecret, ArrowStreamConfigurationOptions options) to ZerobusSdk
  • Added recreateArrowStream(ZerobusArrowStream closedStream) to ZerobusSdk
  • Added ZerobusArrowStream class with methods: ingestBatch(), waitForOffset(), flush(), close(), getUnackedBatches(), isClosed(), getTableName(), getOptions()
  • Added ArrowStreamConfigurationOptions class with fields: maxInflightBatches, recovery, recoveryTimeoutMs, recoveryBackoffMs, recoveryRetries, serverLackOfAckTimeoutMs, flushTimeoutMs, connectionTimeoutMs, ipcCompression
  • Added IPCCompressionType enum with values: NONE, LZ4_FRAME, ZSTD
  • Added optional dependency: org.apache.arrow:arrow-vector >= 15.0.0 (provided scope)