github / elasticsearch-srv-discovery

Elasticsearch discovery with SRV records
MIT License
34 stars 33 forks source link

Default to TCP even when no servers are specified #15

Closed chrismwendt closed 8 years ago

chrismwendt commented 8 years ago

Since this plugin defaults to TCP but dnsjava's DNS Lookup defaults to UDP, setTCP(true) must be called explicitly.

This supersedes my messier previous attempt (closes #12).

/cc @grantr

grantr commented 8 years ago

Nice, thanks for tracking this down.