diff --git a/servicetalk-dns-discovery-netty/src/main/java/io/servicetalk/dns/discovery/netty/DnsClients.java b/servicetalk-dns-discovery-netty/src/main/java/io/servicetalk/dns/discovery/netty/DnsClients.java index 0ecf098d26..3c483e8527 100644 --- a/servicetalk-dns-discovery-netty/src/main/java/io/servicetalk/dns/discovery/netty/DnsClients.java +++ b/servicetalk-dns-discovery-netty/src/main/java/io/servicetalk/dns/discovery/netty/DnsClients.java @@ -68,6 +68,11 @@ public Completable onClose() { public Publisher>> discover(final String s) { return dns.dnsSrvQuery(s); } + + @Override + public String toString() { + return "DefaultDnsServiceDiscoverer{recordTypes=[SRV]}"; + } }; } @@ -105,6 +110,11 @@ public Publisher>> discover .map(events -> mapEventList(events, inetAddress -> new InetSocketAddress(inetAddress, hostAndPort.port()))); } + + @Override + public String toString() { + return "DefaultDnsServiceDiscoverer{recordTypes=[A,AAAA]}"; + } }; }