Returns Broker by specified nodeId.
nodeId
Broker getBroker(int nodeId) { return brokers.firstWhere((b) => b.id == nodeId); }