We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e1b335 commit c9ca891Copy full SHA for c9ca891
internal/route.go
@@ -558,7 +558,8 @@ func (routeData *TopicRouteData) decode(data string) error {
558
if i < 0 {
559
continue
560
}
561
- id, _ := strconv.ParseInt(str[0:i], 10, 64)
+ brokerId := strings.ReplaceAll(str[0:i], "\"", "")
562
+ id, _ := strconv.ParseInt(brokerId, 10, 64)
563
bd.BrokerAddresses[id] = strings.Replace(str[i+1:], "\"", "", -1)
564
565
0 commit comments