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

Producer is increasing connection when sending 500 records after every 5 second #92

Open
gargvicky opened this issue Jun 20, 2016 · 1 comment

Comments

@gargvicky
Copy link

Hi,

I am using Kafka .net client and using producer to send 500 records in kafka topic.But each time in increase tcp connections and its stop working after 20-30 minutes due to large number of connection open.Is there any way for connection pooling or any other solution to reduce the connections

@marcofranssen
Copy link

This looks like IDisposable isn't called on connections not being used any more.

A ConnectionPool class indeed could keep track on used connections and reuse them whenever possible or recycle them (dispose) when not needed anymore.

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

No branches or pull requests

2 participants