open static fun rxGetMongoClient(discovery: ServiceDiscovery, filter: JsonObject): Single<MongoClient>
Convenient method that looks for a Mongo datasource source and provides the configured io.vertx.rxjava.ext.mongo.MongoClient. 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 rxGetMongoClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<MongoClient>
Convenient method that looks for a Mongo datasource source and provides the configured io.vertx.rxjava.ext.mongo.MongoClient. 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 rxGetMongoClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject): Single<MongoClient>
Convenient method that looks for a Mongo datasource source and provides the configured io.vertx.rxjava.ext.mongo.MongoClient. 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 consumer configuration
Return