Skip to content

v1.2.0

Choose a tag to compare

@fho fho released this 19 Mar 16:45

Changes:

  • If a consul service has no ServiceAddress assigned, the address of the consul agent is used, as specified in https://www.consul.io/docs/agent/services.html (thanks to @subnova-etsy)
  • New URL parameter health: when health=FallbackToUnhealty is set, a services resolves to unhealthy instances if none is available with a passing health check status
  • The resolver.Address.ServerName field is not set anymore to the consul service ID, it could have caused issues when establish TLS connections
  • Log messages are prefixed with grpcconsulresolver instead of grpc
  • Consul queries are not delayed anymore for some msecs when the last 2 consul queries returned the same service addresses