Skip to content

Conversation

merlimat
Copy link
Contributor

Motivation

In Producer.Send() we're unnecessarily forcing a flush operation. This piece of code was a remnant from an early prototype and should have been removed when the proper handling of batching was introduced.

In this case, since we're calling internalSendAsync() with flushImmediately=true the message will be immediately sent.

@merlimat merlimat added this to the 0.1.1 milestone Apr 20, 2020
@merlimat merlimat self-assigned this Apr 20, 2020
@merlimat merlimat merged commit 23d4808 into apache:master Apr 20, 2020
@merlimat merlimat deleted the remove-flush branch April 20, 2020 17:05
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.

2 participants