io.quarkus.redis.runtime.client.config.RedisConfig.jdp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-redis-client Show documentation
Show all versions of quarkus-redis-client Show documentation
Connect to Redis in either imperative or reactive style
io.quarkus.redis.runtime.client.config.RedisConfig.defaultRedisClient=The default redis client
io.quarkus.redis.runtime.client.config.RedisConfig.namedRedisClients=Configures additional (named) Redis clients.\n\nEach client has a unique name which must be identified to select the right client.\nFor example\:\n
\n\n
\nquarkus.redis.client1.hosts \= redis\://localhost\:6379\nquarkus.redis.client2.hosts \= redis\://localhost\:6380\n
\n\nAnd then use the {@link io.quarkus.redis.client.RedisClientName} annotation to select the\n{@link io.vertx.mutiny.redis.client.Redis},\n{@link io.vertx.redis.client.Redis}, {@link io.vertx.mutiny.redis.client.RedisAPI} and\n{@link io.vertx.redis.client.RedisAPI} beans.\n
\n\n
\n{\n &\#64;code\n &\#64;RedisClientName("client1")\n &\#64;Inject\n RedisAPI redis;\n}\n
© 2015 - 2025 Weber Informatics LLC | Privacy Policy