suspend fun getRedisClientAwait(discovery: ServiceDiscovery, filter: JsonObject): RedisClient
Convenient method that looks for a Redis data source and provides the configured io.vertx.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
resultHandler - The result handler
suspend fun getRedisClientAwait(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): RedisClient
Convenient method that looks for a Redis data source and provides the configured io.vertx.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
resultHandler - The result handler
suspend fun getRedisClientAwait(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject): RedisClient
Convenient method that looks for a Redis data source and provides the configured io.vertx.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
resultHandler - The result handler
suspend fun getRedisClientAwait(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, consumerConfiguration: JsonObject): RedisClient
Convenient method that looks for a Redis data source and provides the configured io.vertx.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