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

Read kafka checked #20

Merged
merged 26 commits into from
Jul 9, 2024
Merged

Read kafka checked #20

merged 26 commits into from
Jul 9, 2024

Conversation

lcoram
Copy link
Collaborator

@lcoram lcoram commented Jun 16, 2024

No description provided.

@lcoram
Copy link
Collaborator Author

lcoram commented Jun 16, 2024

closes: #12

@Lun4m Lun4m linked an issue Jun 19, 2024 that may be closed by this pull request
@lcoram lcoram marked this pull request as ready for review June 19, 2024 08:13
@lcoram lcoram requested review from intarga and Lun4m June 19, 2024 08:13
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
db/flags.sql Outdated Show resolved Hide resolved
kafka_checked/Cargo.toml Outdated Show resolved Hide resolved
db/flags.sql Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
kafka_checked/src/main.rs Outdated Show resolved Hide resolved
ingestion/src/kvkafka.rs Outdated Show resolved Hide resolved
@Lun4m
Copy link
Collaborator

Lun4m commented Jul 8, 2024

Ok, I have rebased on trunk, moved the package to its own module inside the ingestion crate, and fixed some of the types so that they match the ones postgres expects.
I added a test with the simplest possible message we can get, but maybe I should also try testing more complicated structures to make sure everything works correctly.

ingestion/src/kvkafka.rs Outdated Show resolved Hide resolved
Copy link
Member

@intarga intarga left a comment

Choose a reason for hiding this comment

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

Looking good to me, more tests never hurt though if you want to add them. We can merge this when you've added the test cases you want, and you're happy that you've resolved the remaining comments.

@Lun4m Lun4m merged commit 6b91a14 into trunk Jul 9, 2024
1 check passed
@Lun4m Lun4m deleted the read_kafka_checked branch July 9, 2024 14:00
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.

Checked (kvalobs QC flags) ingestion
3 participants