Apicurio registry sql connections number #5258
-
I created a deployment on kubernetes that uses the apicurio registry sql image to create the registry. It uses an underlying postgre db and i noticed that it opens around 22 connections towards the DB. I was wondering why is that and if it's possible to limit the number of these connections. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry, I'm way behind on my GH email. Yes, it can be configured. It's set to |
Beta Was this translation helpful? Give feedback.
Sorry, I'm way behind on my GH email. Yes, it can be configured. It's set to
20
as the initial size, and by default it has a maximum of 100. You can configure it using the propertyapicurio.datasource.jdbc.initial-size
or it's env var equivalent, APICURIO_DATASOURCE_JDBC_INITIAL_SIZE.