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

added ability to append raw message #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndrewChubatiuk
Copy link

@AndrewChubatiuk AndrewChubatiuk commented Jun 7, 2024

Added AppendRaw function to be able to add already encoded to protobuf message to message marshaler
Needed for VictoriaMetrics/VictoriaMetrics#5855

Copy link

@tenmozes tenmozes left a comment

Choose a reason for hiding this comment

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

LGTM

@fyfyrchik
Copy link

This looks very useful, e.g. when you need to send the same message to multiple places: in our code we cache marshaled data in a private field and then would like to reuse.
Is it reasonable to expect this being merged in the near future?

@AndrewChubatiuk
Copy link
Author

AndrewChubatiuk commented Aug 21, 2024

@valyala we need your feedback

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