-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use wall-clock time for dead letter record #28
Conversation
The written dead-letter now has the wall-clock time as its record's timestamp. Because the original timestamp would be lost otherwise, there is a new field in the respective dead-letter models called timestamp. To maintain backwards compatibility, it is nullable, but always set starting from this version.
error-handling-avro/src/test/java/com/bakdata/kafka/AvroDeadLetterProcessorTest.java
Show resolved
Hide resolved
Can you also update https://github.com/bakdata/kafka-dead-letter-analyzer? |
Code looks good to me, but maybe we can call the new field more specificly |
To make it consinstent with input_value, input_timestamp makes sense. But I also like just timestamp |
I changed it to input_timestamp |
The written dead-letter now has the wall-clock time as its record's timestamp. Because the original timestamp would be lost otherwise, there is a new field in the respective dead-letter models called timestamp. To maintain backwards compatibility, it is nullable, but always set starting from this version.