use of io.zeebe.transport.SocketAddress in project zeebe by zeebe-io.
the class Topology method getBroker.
private TopologyBroker getBroker(String host, int port) {
final SocketAddress brokerAddress = new SocketAddress(host, port);
TopologyBroker topologyBroker = brokers.get(brokerAddress);
if (topologyBroker == null) {
topologyBroker = new TopologyBroker(host, port);
brokers.put(brokerAddress, topologyBroker);
}
return topologyBroker;
}
Aggregations