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

Add support reading and writing commit metadata. #391

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

hadronized
Copy link
Contributor

No description provided.

@hadronized hadronized changed the title Add support reading commit metadata. Add support reading and writing commit metadata. Sep 20, 2021
@hadronized
Copy link
Contributor Author

I’d like to add tests to ensure the feature works as expected; any idea where / how to?

@hadronized hadronized force-pushed the feature/commit-metadata branch 2 times, most recently from bbf67fd to fff9f07 Compare September 20, 2021 13:34
@hadronized hadronized force-pushed the feature/commit-metadata branch 2 times, most recently from a1f1549 to 5bf252a Compare September 27, 2021 12:23
@hadronized
Copy link
Contributor Author

@fede1024 would it be possible to review this and eventually merge / make a release? We are currently using a fork datadog. If there’s anything missing / things you think should be done differently, I’d be more than happy to discuss it! :)

@benesch
Copy link
Collaborator

benesch commented Oct 16, 2021

Are strings the right data type here? If the underlying Kafka API takes bytes, I'm inclined to do the same.

@benesch benesch force-pushed the feature/commit-metadata branch 2 times, most recently from 2e00b07 to 2392a97 Compare October 16, 2021 22:34
@benesch
Copy link
Collaborator

benesch commented Oct 16, 2021

Welp, that experiment failed. Looks like the C library handles arbitrary bytes just fine, but the Kafka protocol expects UTF-8 bytes and something goes very wrong. I'll restore the UTF8-based code.

@hadronized
Copy link
Contributor Author

Thanks @benesch.

@benesch benesch force-pushed the feature/commit-metadata branch from 2392a97 to ec2cc06 Compare October 18, 2021 02:38
@benesch benesch merged commit 1f2b91f into fede1024:master Oct 18, 2021
@hadronized hadronized deleted the feature/commit-metadata branch November 18, 2021 11:50
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.

4 participants