Record - grpc : PoolConfiguration

Configurations for managing gRPC client connection pool.

Fields

  • maxActiveConnections int config:getAsInt(b7a.http.pool.maxActiveConnections, defaultValue=-1)
  • Max active connections per route(host:port). Default value is -1 which indicates unlimited.

  • maxIdleConnections int config:getAsInt(b7a.http.pool.maxIdleConnections, defaultValue=1000)
  • Maximum number of idle connections allowed per pool.

  • waitTimeinMillis int config:getAsInt(b7a.http.pool.waitTimeinMillis, defaultValue=60000)
  • Maximum amount of time, the client should wait for an idle connection before it sends an error when the pool is exhausted

  • maxActiveStreamsPerConnection int config:getAsInt(b7a.http.pool.maxActiveStreamsPerConnection, defaultValue=50)
  • Maximum active streams per connection. This only applies to HTTP/2.