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

Document adding a buffer before transactional producer #1282

Open
seglo opened this issue Dec 10, 2020 · 3 comments
Open

Document adding a buffer before transactional producer #1282

seglo opened this issue Dec 10, 2020 · 3 comments

Comments

@seglo
Copy link
Member

seglo commented Dec 10, 2020

Short description

Document adding a buffering stage before the transactional producer so that some amount of messages can still be processed by user business logic while a commit is occurring in the producer stage (and back-pressuring).

This may help to improve throughput of transactional workflows in some cases.

@jrudolph
Copy link
Member

Maybe it would be enough to document the implications of the transactional behavior on the user stream, instead? And add a snippet that people can experiment with a buffer themselves?

@seglo
Copy link
Member Author

seglo commented Dec 10, 2020

Good idea. We have enough of a maintenance burden with transactions as it is.

@seglo seglo changed the title Add a buffer before transactional producer Document adding a buffer before transactional producer Dec 10, 2020
@ennru
Copy link
Member

ennru commented Dec 10, 2020

Let's try it in the benchmarks. (not that they'd have a lot of business logic, ofc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants