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: add support for transaction #155

Closed

Conversation

pollend
Copy link

@pollend pollend commented Jun 13, 2020

ref: #104

Here is an implementation of transactions for sendTo. here is how its marked out in the documentation: here . commitTransaction is blocking so it will throw an exception if any of the messages sent in that transaction fail. The other thing that comes to mind is do we want to batch up all the message from the emitter because if a transaction fails then none of those messages will be processed.

Any clue how this can be tested? I was thinking about MockProducers but i couldn't figure out how to inject it as a replacement bean.

@dstepanov
Copy link
Contributor

We already have transactions in the latest version. Thanks!

@dstepanov dstepanov closed this Mar 21, 2022
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