derjust/spring-data-dynamodb

Support disabling consistent read on per @Query

Opened this issue · 1 comments

Expected Behavior

We should be able to disable consistent read behaviour on per query basis, instead of having to use a custom repository.
This feature is helpful for queries on GSI as they dont support consistent reads.

Actual Behavior

Either disable it for all using dynamodb mapper config or use custom repositories.

Specifications

  • Spring Data DynamoDB Version: 5.1.0
  • Spring Data Version: 2.2.3.Release
  • AWS SDK Version: 1.11.443
  • Java Version: openjdk version "11.0.5" 2019-10-15
  • Platform Details: Macbook Pro mid-2018

Would not be hard to add, open an issue on my repo and I can add it to a snapshot.

https://github.com/boostchicken/spring-data-dynamodb