-
Notifications
You must be signed in to change notification settings - Fork 951
Description
Describe the feature
This was reported for V1 and closed because no more changes were being made as V2 was released. I don't think this was ever addressed in V2.
aws/aws-sdk-java#1170
Use Case
Users of the mapper who need ConsumedCapacity stats to handle performance and scaling operations for their databases are stuck if they have already invested in using the mapper. There's no way to get that information without migrating away from the mapper.
It's operationally important for users to be able to track the sizes of their read/write requests for capacity planning.
Proposed Solution
No response
Other Information
One option to resolve it is to add mapper method alternatives like saveWithStats which returns a DynamoDBResultWithStats<Item, Stats>. This provides a relatively simple migration path for users already invested in the mapper to get the stats they need.
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS Java SDK version used
any
JDK version used
any
Operating System and version
any