Skip to content

StreamRecord does not support ApproximateCreationDateTimePrecision from DynamoDB Streams events #543

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

Open
szczekutekr opened this issue May 20, 2025 · 0 comments

Comments

@szczekutekr
Copy link

When the ApproximateCreationDateTimePrecision is explicitly set for a DynamoDB table, the corresponding precision attribute is sent inside the DynamoDB Streams events. However, the StreamRecord class present in the SDK does not currently contain support for the ApproximateCreationDateTimePrecision attribute.

This results in two main issues:

  • The attribute is not parsed from the event, so downstream consumers cannot access the precision information.
  • If the ObjectMapper is configured to not ignore unknown properties, receiving the event with this attribute can cause deserialization errors.

Suggested Fix:
Please add the ApproximateCreationDateTimePrecision attribute to the StreamRecord class so that it is properly parsed from DynamoDB Streams events and available to consumers using the SDK.

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

No branches or pull requests

1 participant