tulios / kafkajs

A modern Apache Kafka client for node.js

Home Page:https://kafka.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

juniorsdj opened this issue · comments

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.