Skip to content

Conversation

@graytaylor0
Copy link
Member

@graytaylor0 graytaylor0 commented Nov 7, 2025

Description

This change fixes a potential data loss scenario where shards can be skipped completely on this condition in ShardConsumer (

LOG.info("LastShardIterator is provided, but there is no Last Event Time, skip processing");
). This data loss can happen if the partitions for the shards are created in source coordination after the shard has already closed (in the case that a child shard is already closed by the time data prepper fully processes the parent shard).

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…ed after initial scan for shards

Signed-off-by: Taylor Gray <tylgry@amazon.com>
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

Successfully merging this pull request may close these issues.

1 participant