open static fun rxGetRedisClient(discovery: ServiceDiscovery, filter: JsonObject): Single<RedisClient>
Convenient method that looks for a Redis data source and provides the configured io.vertx.reactivex.redis.RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
Return
open static fun rxGetRedisClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<RedisClient>
Convenient method that looks for a Redis data source and provides the configured io.vertx.reactivex.redis.RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
filter - The filter, cannot be null
Return
open static fun rxGetRedisClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject): Single<RedisClient>
Convenient method that looks for a Redis data source and provides the configured io.vertx.reactivex.redis.RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
consumerConfiguration - The additional consumer configuration
Return
open static fun rxGetRedisClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, consumerConfiguration: JsonObject): Single<RedisClient>
Convenient method that looks for a Redis data source and provides the configured io.vertx.reactivex.redis.RedisClient. The async result is marked as failed is there are no matching services, or if the lookup fails.
discovery - The service discovery instance
filter - The filter, cannot be null
consumerConfiguration - The additional consumer configuration
Return