The README states that AWS SDK for Java v2 2.20 or newer is supported, but the CRT client paths directly use APIs unavailable in SDK 2.20.
- The synchronous path references
AwsCrtHttpClient, which is unavailable in SDK 2.20. Selecting sync CRT fails with NoClassDefFoundError.
- The asynchronous path calls
AwsCrtAsyncHttpClient.Builder.connectionAcquisitionTimeout(Duration), which is unavailable before SDK 2.30.15. With the default positive acquisition timeout, selecting async CRT on SDK 2.20 fails with NoSuchMethodError.
The SDK dependencies are provided, so applications using the documented minimum can encounter these failures at runtime.
Relevant locations:
README.md:22
src/main/java/com/scylladb/alternator/internal/CrtSyncClientFactory.java
src/main/java/com/scylladb/alternator/internal/CrtAsyncClientFactory.java:59
The README states that AWS SDK for Java v2 2.20 or newer is supported, but the CRT client paths directly use APIs unavailable in SDK 2.20.
AwsCrtHttpClient, which is unavailable in SDK 2.20. Selecting sync CRT fails withNoClassDefFoundError.AwsCrtAsyncHttpClient.Builder.connectionAcquisitionTimeout(Duration), which is unavailable before SDK 2.30.15. With the default positive acquisition timeout, selecting async CRT on SDK 2.20 fails withNoSuchMethodError.The SDK dependencies are
provided, so applications using the documented minimum can encounter these failures at runtime.Relevant locations:
README.md:22src/main/java/com/scylladb/alternator/internal/CrtSyncClientFactory.javasrc/main/java/com/scylladb/alternator/internal/CrtAsyncClientFactory.java:59