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 detach_headers for OwnedMessage #459

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

scanterog
Copy link
Collaborator

Currently an OwnedMessage only allows to get a reference to the attached OwnedHeaders. This PR allows to detach the OwnedHeaders from the OwnedMessage.

src/message.rs Outdated Show resolved Hide resolved
Co-authored-by: Duarte Nunes <duarte@fastmail.com>
@duarten duarten merged commit ae4393f into fede1024:master Apr 8, 2022
dopuskh3 pushed a commit to DataDog/rust-rdkafka that referenced this pull request Apr 23, 2022
Currently an OwnedMessage only allows to get a reference to the attached OwnedHeaders. This PR allows to detach the OwnedHeaders from the OwnedMessage.

Co-authored-by: Duarte Nunes <duarte.nunes@datadoghq.com>
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.

None yet

2 participants