You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/07/05 22:01:18 UTC

[PR] fix: fix deprecation warnings in DynamoDB client code and tests [pekko-persistence-dynamodb]

He-Pin opened a new pull request, #333:
URL: https://github.com/apache/pekko-persistence-dynamodb/pull/333

   ### Motivation
   Several deprecated AWS SDK v1 APIs and Scala APIs were used, causing deprecation warnings on Scala 2.13, 3.3 and 3.8 cross-builds.
   
   ### Modification
   - Replace deprecated `AmazonDynamoDBAsyncClient` constructors with `AmazonDynamoDBAsyncClientBuilder` pattern
   - Replace deprecated `setEndpoint`/`withRegion` with `EndpointConfiguration`
   - Replace deprecated `ClientConfiguration.setUserAgent` with `setUserAgentPrefix`
   - Replace deprecated `ActorMaterializer` with `Materializer(system)` and move input buffer config to stream `Attributes`
   - Replace deprecated `Manifest` context bound with `ClassTag` in test
   - Widen `DynamoDBHelper.dynamoDB` type from `AmazonDynamoDBAsyncClient` to `AmazonDynamoDBAsync` interface
   
   ### Result
   Clean compilation with zero deprecation warnings across all Scala versions (2.13.18, 3.3.8, 3.8.4).
   
   ### Tests
   - `sbt +test:compile` - all versions pass with no warnings
   
   ### References
   None - code quality improvement


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [PR] fix: fix deprecation warnings in DynamoDB client code and tests [pekko-persistence-dynamodb]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin merged PR #333:
URL: https://github.com/apache/pekko-persistence-dynamodb/pull/333


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org