Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "enhanced DynamoDB client in the AWS SDK for Java v2" #20

Open
nyh opened this issue Jun 9, 2024 · 0 comments
Open

Support "enhanced DynamoDB client in the AWS SDK for Java v2" #20

nyh opened this issue Jun 9, 2024 · 0 comments
Labels

Comments

@nyh
Copy link
Contributor

nyh commented Jun 9, 2024

In April 2020, Amazon introduced yet another variant of their DynamoDB SDK, the "enhanced DynamoDB client in AWS SDK for Java v2" (https://aws.amazon.com/blogs/developer/introducing-enhanced-dynamodb-client-in-the-aws-sdk-for-java-v2/) ".

It isn't clear how to use this API together with our load balancer. Our java/pom.xml contains the line:

TODO: test also dynamodb-enhanced for v2: https://aws.amazon.com/blogs/developer/introducing-enhanced-dynamodb-client-in-the-aws-sdk-for-java-v2/

Which I added when I removed a dynamodb-enhanced artifact from the POM and wasn't sure what to do instead.

As the comment suggests, I think we should create in java/src/test/java/com/scylladb/alternator/test a fourth Java demo (we already have one v1, one v2, and one v2 with async) which uses the "enhanced client" and then we need to check what needs to be done to make it work with load balancing.

@nyh nyh added the java label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant