From 06ea6b3de4d6f2ce016a846f70a1e5a3dcdc8505 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Mon, 11 Dec 2023 11:24:19 +0100 Subject: [PATCH] Do not deprecate srv record I find it kind of handy since it simplifies broker management via one central point. --- transport/kafka/kafka.go | 1 - 1 file changed, 1 deletion(-) diff --git a/transport/kafka/kafka.go b/transport/kafka/kafka.go index 407a72cc..6624e0fa 100644 --- a/transport/kafka/kafka.go +++ b/transport/kafka/kafka.go @@ -243,7 +243,6 @@ func (d *KafkaDriver) Close() error { return nil } -// todo: deprecate? func GetServiceAddresses(srv string) (addrs []string, err error) { _, srvs, err := net.LookupSRV("", "", srv) if err != nil {