Package io.quarkus.mongodb.runtime.dns
Class DnsClientProducer
- java.lang.Object
-
- io.quarkus.mongodb.runtime.dns.DnsClientProducer
-
public abstract class DnsClientProducer extends Object
This class is used in native mode whenquarkus.mongodb.native.dns.use-vertx-dns-resolver
is set totrue
. By default, the MongoDB driver uses JNDI to retrieve the SRV and TXT DNS Records, which is not supported in native.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FLAG
static String
LOOKUP_TIMEOUT
-
Constructor Summary
Constructors Constructor Description DnsClientProducer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.vertx.mutiny.core.dns.DnsClient
createDnsClient()
static List<String>
nameServers()
-
-
-
Field Detail
-
FLAG
public static final String FLAG
- See Also:
- Constant Field Values
-
LOOKUP_TIMEOUT
public static final String LOOKUP_TIMEOUT
- See Also:
- Constant Field Values
-
-