Skip to content

Commit

Permalink
Fixes #83 - add the broker id when creating the Broker client via Zoo…
Browse files Browse the repository at this point in the history
…keeper
  • Loading branch information
jeckhart committed May 13, 2020
1 parent 262cd87 commit 7c3ef1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/connection/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ func GetBrokerFromZookeeper(zkConn zookeeper.Connection, id, preferredListener s
log.Warn("Failed creating client: %s", err)
continue
}
newBroker.ID = id

return newBroker, nil
}
Expand Down

0 comments on commit 7c3ef1f

Please sign in to comment.