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

Allow to have multiple connections per broker #276

Merged
merged 1 commit into from
Jun 11, 2020

Conversation

merlimat
Copy link
Contributor

Motivation

Similar to what we do in Java client, in certain conditions it might be useful to have more than one TCP connection to each broker. This increase the parallelism in client (more Go routines), brokers (connections get assigned to different IO threads) and also can improve the throughput at TCP level when the client is talking to a small number of brokers.

@merlimat merlimat added this to the 0.1.1 milestone Jun 11, 2020
@merlimat merlimat self-assigned this Jun 11, 2020
@srkukarni
Copy link

Do we want some tests as well?

@wolfstudy wolfstudy merged commit c979046 into apache:master Jun 11, 2020
@merlimat merlimat deleted the multi-connections branch June 19, 2020 06:18
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.

None yet

4 participants