druid/extensions-contrib/kubernetes-overlord-extensions
Xavier Léauté adef2069b1
Make unit tests pass with Java 21 (#15014)
This change updates dependencies as needed and fixes tests to remove code incompatible with Java 21
As a result all unit tests now pass with Java 21.

* update maven-shade-plugin to 3.5.0 and follow-up to #15042
  * explain why we need to override configuration when specifying outputFile
  * remove configuration from dependency management in favor of explicit overrides in each module.
* update to mockito to 5.5.0 for Java 21 support when running with Java 11+
  * continue using latest mockito 4.x (4.11.0) when running with Java 8  
  * remove need to mock private fields
* exclude incorrectly declared mockito dependency from pac4j-oidc
* remove mocking of ByteBuffer, since sealed classes can no longer be mocked in Java 21
* add JVM options workaround for system-rules junit plugin not supporting Java 18+
* exclude older versions of byte-buddy from assertj-core
* fix for Java 19 changes in floating point string representation
* fix missing InitializedNullHandlingTest
* update easymock to 5.2.0 for Java 21 compatibility
* update animal-sniffer-plugin to 1.23
* update nl.jqno.equalsverifier to 3.15.1
* update exec-maven-plugin to 3.1.0
2023-10-03 22:41:21 -07:00
..
src Allow users to pass task payload via deep storage instead of environment variable (#14887) 2023-10-03 14:08:59 +05:30
README.md Add readme for kubernetes-overlord-extensions and update docs (#14674) 2023-08-01 13:29:44 -07:00
pom.xml Make unit tests pass with Java 21 (#15014) 2023-10-03 22:41:21 -07:00

README.md

druid-kubernetes-overlord-extensions

Overview

The Kubernetes Task Scheduling extension allows a Druid cluster running on Kubernetes to schedule its tasks as Kubernetes Jobs instead of sending them to workers (middle managers or indexers).

Documentation

More detailed documentation about how to configure and use the extension is available here