tulios / kafkajs

A modern Apache Kafka client for node.js
https://kafka.js.org
MIT License
3.75k stars 527 forks source link

There is any way to find the connection pool size of my application? #1669

Open jennysson-junior opened 8 months ago

jennysson-junior commented 8 months ago

There is any way to find the connection pool size of my application?

I was testing an integration with confluent cloud and with my tests I was just creating two instances connected on my kafka cluster.

There was a single producer and a single consumer. For my surprise, I've got 7 active connections stablished for a single instance of my app.

I would like to have a better understand about how connection pool works and check how can I reduce this size.

meditatingdragon commented 5 months ago

Did you ever find any information around this? I'm looking into a similar issue where I suspect additional connections are created by Kafka.

jennysson-junior commented 5 months ago

Negative,

I didn't find informations about this issue.

The problem persists.

meditatingdragon commented 5 months ago

Thanks for the prompt reply 🙏🏻