Skip to content

Add support for configuring connection pool to MultiClusterPooledConnectionProvider #3753

@jarkus4

Description

@jarkus4

Currently MultiClusterPooledConnectionProvider (redis.clients.jedis.providers.MultiClusterPooledConnectionProvider) creates new instance of ConnectionPool for each of configured clusters (MultiClusterClientConfig.GetClusterConfig()). This pool is created without providing any pool specific configuration (using constructor without JedisPoolConfig param), making it impossible to specify a number of pool specific settings eg maximum number of connections.

Please add possibility of passing JedisPoolConfig to be used during construction of those pools, preferably on the per cluster basis (ClusterConfig seems like a fitting place to pass it, but Im not sure)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions