Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.
This repository was archived by the owner on May 19, 2022. It is now read-only.

Sentinel configuration not implements? #2

Open
@nemodeveloper

Description

@nemodeveloper

Hello im Aleksey
Im start using this library and not found how it configure sentinel connection with LettuSearch ?

From your configuration

@bean(destroyMethod = "shutdown")
RediSearchClient client(ClientResources clientResources) {
RedisURI redisURI = RedisURI.create(redisProperties.getHost(), redisProperties.getPort());
if (redisProperties.getPassword() != null) {
redisURI.setPassword(redisProperties.getPassword());
}
Duration timeout = redisProperties.getTimeout();
if (timeout != null) {
redisURI.setTimeout(timeout);
}
return RediSearchClient.create(clientResources, redisURI);
}

Its work only with standalone configuration or im not understand something?)
How i can connect this?

Also im using spring-boot-starter-data-redis
And im need configure RediSearchClient for send query to RediSearch
My RedisProperties can be different one moment its standalone and another sentinel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions