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

Use maxPendingMessages for sizing producer eventsChan #285

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

merlimat
Copy link
Contributor

Motivation

When multiple go-routines are sharing the same producer instance, there will be contention and blocking on the channel that is used to dispatch to the partition handler.

@merlimat merlimat merged commit f6198df into apache:master Jun 18, 2020
@merlimat merlimat deleted the events-size branch June 18, 2020 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants