aws / aws/aws-lambda-java-libs

StreamRecord does not support ApproximateCreationDateTimePrecision from DynamoDB Streams events

Đang mở
#543 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
548
Fork
241
Merge trung bình
2 ngày 5 phút
Pull request đã merge (30 ngày)
11

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.