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

Embrace the AWS SDK v2 everywhere #157

Merged
merged 3 commits into from
Jun 25, 2024
Merged

Conversation

julienrf
Copy link
Collaborator

@julienrf julienrf commented Jun 24, 2024

Fixes #142

  • Use the AWS SDK V2 when possible (spark-kinesis-dynamodb still uses V1, so we have to deal with that too)
    It might be possible to not use V1 at all, based on this, but would require additional work.
  • Leverage V2 and use Waiters when possible
  • Fix a regression introduced in Update Spark to version 3.5.1 #155 regarding the support of streamChanges. This is now tested on AWS (our CI tests don’t cover that because of The sandboxed testing environment cannot use AWS #113).
  • We also update the build to support JDK17+

@julienrf julienrf force-pushed the aws-sdk2 branch 5 times, most recently from 4532904 to efeef76 Compare June 24, 2024 14:33
julienrf added 3 commits June 25, 2024 12:52
- Use v2 clients both in the migrator and in the tests
- Use Waiters instead of `Thread.sleep`
- Add more AWS configuration properties as required by the S3 and DynamoDB clients
scylladb#155 broke the support of streaming for DynamoDB. This commit fixes the regressions by:

- making sure the data carried by RDDs is serializable when it needs to
- getting back to the old manual loop to wait for the DynamoDB stream to be enabled because the `Waiter` was not working as expected
@julienrf julienrf marked this pull request as ready for review June 25, 2024 10:53
@tarzanek tarzanek merged commit 7140130 into scylladb:master Jun 25, 2024
1 check passed
@julienrf julienrf deleted the aws-sdk2 branch June 25, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add Waiter for checking if table is ready
2 participants