Repository navigation
Conversation
Signed-off-by: Ashwin Somasundara <ashwin.somasundara@gmail.com>
PR Reviewer Guide 🔍(Review updated until commit 73691cd)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
| assertTrue(event.getMetadata().getExternalOriginationTime().toEpochMilli() < futureTimestamp); | ||
| assertTrue(event.getEventHandle().getExternalOriginationTime().toEpochMilli() < futureTimestamp); |
There was a problem hiding this comment.
Thanks for the fix and the clear numbers, @ashwinhs! One small thing: Data Prepper tests use Hamcrest instead of JUnit assertTrue. Could you change these two lines to assertThat(..., lessThan(futureTimestamp))?
There was a problem hiding this comment.
Done @srikanthpadakanti thanks. The Kafka CI integration failures also happen on main. I'll open a separate PR to fix them.
Signed-off-by: Ashwin Somasundara <ashwin.somasundara@gmail.com>
|
Persistent review updated to latest commit 73691cd |
Description
Kafka source records ahead of the consumer clock now use the current time for origination time instead of an old cached timestamp.
kafka_timestampkeeps the record's value.Tested with Kafka 3.9.1 and OpenSearch 3.9.0: one normal record, then five records 5s ahead after a 20s wait.
kafka_timestamperrorEndToEndLatencyEndToEndLatencynumberOfInvalidTimeStampsstill counts these records.Issues Resolved
Resolves #7158
Check List
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.