rabbitmq / rabbitmq-stream-go-client

A client library for RabbitMQ streams
MIT License
160 stars 13 forks source link

Force localhost when lookup the metadata #317

Closed Gsantomaggio closed 1 week ago

Gsantomaggio commented 2 weeks ago

Fixes https://github.com/rabbitmq/rabbitmq-stream-go-client/issues/315 in case it can't lookup the DNS name

Force to use localhost when the client connection when the locator is localhost but the node-name can be resolved.