aws / aws/aws-lambda-java-libs

StreamRecord does not support ApproximateCreationDateTimePrecision from DynamoDB Streams events

Aberta
#543 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Java
Estrelas
548
Forks
241
Merge médio
2d 5min
PRs com merge (30d)
11

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.