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

feat: Port the commit log encoder/decoder to Rust #4786

Merged
merged 10 commits into from
Oct 5, 2023
Merged

feat: Port the commit log encoder/decoder to Rust #4786

merged 10 commits into from
Oct 5, 2023

Conversation

lynnagara
Copy link
Member

@lynnagara lynnagara commented Sep 29, 2023

@lynnagara lynnagara requested a review from a team as a code owner September 29, 2023 18:48
}

impl TryFrom<KafkaPayload> for Commit {
type Error = anyhow::Error;
Copy link
Member

Choose a reason for hiding this comment

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

can you define your own error type here?

you can use thiserror to derive the necessary traits automatically

I don't think we should use anyhow too pervasively in libraries such as rust-arroyo

Copy link
Member

@untitaker untitaker left a comment

Choose a reason for hiding this comment

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

eh, we should eventually fix errors though

@lynnagara lynnagara enabled auto-merge (squash) October 3, 2023 19:27
@lynnagara lynnagara disabled auto-merge October 3, 2023 19:46
@lynnagara lynnagara enabled auto-merge (squash) October 4, 2023 21:56
@lynnagara lynnagara disabled auto-merge October 4, 2023 21:57
@lynnagara lynnagara merged commit 3951a51 into master Oct 5, 2023
26 of 28 checks passed
@lynnagara lynnagara deleted the commit branch October 5, 2023 18:08
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.

2 participants