aws / aws/aws-lambda-java-libs
StreamRecord does not support ApproximateCreationDateTimePrecision from DynamoDB Streams events
- 主要语言
- Java
- 星标
- 548
- 派生
- 241
- 平均合并
- 2 天 5 分钟
- 30 天内合并 PR
- 11
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。