MINOR: ListenerInfo.forController should only look at controller listeners (#7084)
When constructing the `ListenerInfo` object in `ControllerServer`, we should only check the endpoints of the controller listeners instead of all listeners on the node. For remote controllers, there are only the controller listeners, so the logic works fine. But when we run kraft in co-located mode, then the logic is doomed to fail because the controller's `SocketServer` only knows about controller listeners. Reviewers: Colin Patrick McCabe <cmccabe@apache.org>, David Arthur <mumrah@gmail.com>
加载中
想要评论请 注册 或 登录