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

KAFKA-7776: Tests for ISO8601 in Connect value parsing #18374

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

AndrewJSchofield
Copy link
Member

This old issue originally documented a problem with handling ISO8601 dates and times in the Kafka Connect value parsing. Since that time, the parsing has been fixed, but the tests which avoided the erroneous behaviour were not added. The tests have been adjusted as a result.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@github-actions github-actions bot added connect tests Test fixes (including flaky tests) small Small PRs labels Jan 1, 2025
Copy link
Collaborator

@kirktrue kirktrue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @AndrewJSchofield.

I didn't want to rubber stamp it, so I dug in a bit to see if I could generate the value of currentMillis using the java.time APIs. I'm sure it's possible, but I didn't find it after about 15 minutes of trying. It's also very likely that the code to do so would be much more opaque than what's there now.

Copy link
Member

@lianetm lianetm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@AndrewJSchofield AndrewJSchofield merged commit 42fd4d1 into apache:trunk Jan 16, 2025
9 checks passed
@AndrewJSchofield AndrewJSchofield deleted the KAFKA-7776 branch January 16, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connect small Small PRs tests Test fixes (including flaky tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants