mirror of https://github.com/grpc/grpc-java.git
core: disable SRV records lookup
SRV has not yet been enabled in a release. Since work is rapidly
underway to replace GRPC-LB with a service config+XDS-based solution,
there's now thoughts that we won't ever enable grpclb by default (but
may allow it to be automatically enabled when using GoogleDefaultChannel
or similar). Since things are being worked out, disable it.
This effectively reverts c729a0f.
This commit is contained in:
parent
4d90b37a0a
commit
bcd2372280
|
|
@ -90,7 +90,7 @@ final class DnsNameResolver extends NameResolver {
|
|||
private static final String JNDI_LOCALHOST_PROPERTY =
|
||||
System.getProperty("io.grpc.internal.DnsNameResolverProvider.enable_jndi_localhost", "false");
|
||||
private static final String JNDI_SRV_PROPERTY =
|
||||
System.getProperty("io.grpc.internal.DnsNameResolverProvider.enable_grpclb", "true");
|
||||
System.getProperty("io.grpc.internal.DnsNameResolverProvider.enable_grpclb", "false");
|
||||
private static final String JNDI_TXT_PROPERTY =
|
||||
System.getProperty("io.grpc.internal.DnsNameResolverProvider.enable_service_config", "false");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue