Skip to content

CRT clients are incompatible with documented AWS SDK 2.20 minimum #152

Description

@dkropachev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions