Skip to content

Option needed to use multiple redis hosts for caching #10192

@neerajtiwar

Description

@neerajtiwar

Description

Currently Druid provides option to use Redis cache for Broker nodes under "druid.cache.host" property, however, it only accepts 1 IP which is not suitable for production and is not fault-tolerant. I tried giving multiple IPs of my Redis cluster but Druid is unable to use it if configured with comma seperated IPs. Below is config I used:

druid.cache.type=redis
druid.broker.cache.useCache=true
druid.broker.cache.populateCache=true
druid.cache.host=10.140.31.43,10.140.31.44,10.140.31.45
druid.cache.port=6379
druid.cache.maxTotalConnections=60
druid.cache.maxIdleConnections=60

Above config didn't throw any error but never used by DRUID, When I provided single IP it started working.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions