Apache Druid 38.0.0

Release date
October 1, 2026
Release type
Major
Java
Java 21 or 25 supported; Java 25 recommended. Java 17 dropped

Highlights

  • Historical tier aliases: load and drop rules can point at a virtual tier that maps to real tiers.
  • realtimeSegmentsMode query context (include, exclude, exclusive) replaces realtimeSegmentsOnly.
  • SQL-based ingestion workers fetch input files from cloud storage in the background (on by default).
  • Dart segment prefetch with druid.msq.dart.worker.segmentLoadAheadCount.
  • Kafka client and broker libraries move from 3.9.2 to 4.2.3.
  • Supervisor resets to the latest offset can backfill the skipped range (Kafka and RabbitMQ).

Upgrade notes and incompatible changes

  • Run Java 21 or 25 before the upgrade. Java 17 is no longer supported.
  • druid.indexer.runner.type=remote now fails at startup. Switch to httpRemote (default) or local and remove the ZooKeeper indexer properties.
  • Any druid.serverview.type other than http now fails at startup. Remove the druid.announcer.* and related druid.zk.paths.* properties.
  • Jackson moved to 2.21. Custom extensions that use @JacksonInject with @JsonProperty on one parameter need useInput = OptBoolean.TRUE.
  • The opt-in dim_value_set Kafka shard spec is not forward compatible. Upgrade every service before you enable it.
  • MiddleManagers and Indexers now keep their enabled or disabled state across restarts. druid.worker.startAlwaysEnabled=true restores the old behavior.

Removals and deprecations

  • Removed: ZooKeeper-based RemoteTaskRunner.
  • Removed: ZooKeeper-based segment announcement and inventory view.
  • Removed: Java 17 support.
  • Deprecated: realtimeSegmentsOnly query context.
  • Deprecated: reading legacy ZSTD v0.4 to v0.7 frames. 38 is the last major release planned to read them.

Upgrading to 38.0.0

From 37.0.0, the main work is the Java runtime (21 or 25). Remove the ZooKeeper-based task runner and segment announcement settings too, since they now stop services at startup. From 36.0.0 or earlier, also plan for 37.0.0, which removed Hadoop-based ingestion and the legacy parser. Streaming supervisors must use inputSource and inputFormat, and compaction supervisors need the incremental segment metadata cache and new metadata tables. From 34.0.0 or earlier, Java 11 support and the druid-multi-stage-query load list entry were removed in 35.0.0. Read the upgrade notes for each skipped version. Deep.BI supports the Druid version you run and can help plan the upgrade.

Talk to a Druid engineer

Deep.BI supports the Druid version you run and can help plan the upgrade.