Skip to content
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

Merged
merged 4 commits into from
Jun 24, 2024

Conversation

torbsto
Copy link
Contributor

@torbsto torbsto commented Jun 21, 2024

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.

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.
@torbsto torbsto requested review from philipp94831 and mkcode92 June 21, 2024 04:46
@torbsto torbsto changed the title Use wall-clock time for daed letter record Use wall-clock time for dead letter record Jun 21, 2024
@philipp94831
Copy link
Member

Can you also update https://github.com/bakdata/kafka-dead-letter-analyzer?

@mkcode92
Copy link
Contributor

Code looks good to me, but maybe we can call the new field more specificly inputTimestamp or initialTimestamp?

@philipp94831
Copy link
Member

Code looks good to me, but maybe we can call the new field more specificly inputTimestamp or initialTimestamp?

To make it consinstent with input_value, input_timestamp makes sense. But I also like just timestamp

@torbsto
Copy link
Contributor Author

torbsto commented Jun 21, 2024

I changed it to input_timestamp

philipp94831
philipp94831 previously approved these changes Jun 21, 2024
@torbsto torbsto merged commit 11991ff into master Jun 24, 2024
6 checks passed
@torbsto torbsto deleted the feature/wallclock-timestamp branch June 24, 2024 12:18
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.

3 participants