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

Adds in the ability to set complete body when producing messages #316

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

sash
Copy link
Contributor

@sash sash commented Aug 23, 2024

Adds in the ability to set complete body of the produced message w/out having to completely replace the message via ->withMessage()

… w/out having to completely replace the message via ->withMessage
@mateusjunges mateusjunges changed the title add: Kafka::publish()->withBody() Adds in the ability to set complete body of the produced message Aug 26, 2024
@mateusjunges
Copy link
Owner

I'm not sure why this is needed tbh

@sash
Copy link
Contributor Author

sash commented Sep 10, 2024

My use case is that the body of the message is a web hook json that is pre-built. That is why im forced to pass in a new message and recode all other attributes of the message. Having access to setting the payload completely would solve this for me

@mateusjunges mateusjunges changed the title Adds in the ability to set complete body of the produced message Adds in the ability to set complete body when producing messages Oct 6, 2024
@mateusjunges mateusjunges merged commit b226a53 into mateusjunges:master Oct 6, 2024
6 checks passed
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