aws / aws/aws-lambda-java-libs
StreamRecord does not support ApproximateCreationDateTimePrecision from DynamoDB Streams events
- Vorherrschende Sprache
- Java
- Sterne
- 548
- Forks
- 241
- Ø Merge
- 2 T. 5 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.