private void checkEquals(final String attrName, final Object thisAttr, final Object thatAttr) {
    if (!Objects.equals(thisAttr, thatAttr)) {
      throw new PipeException(
          String.format(
              "The existing server with tcp port %s and https port %s's %s %s conflicts to the new %s %s, reject reusing.",
              tcpBindPort, httpsBindPort, attrName, thisAttr, attrName, thatAttr));
    }
  }
OPC UA Server builder for IoTDB to send data. The coding style referenced ExampleServer.java in
Eclipse Milo.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/protocol/opcua/OpcUaServerBuilder.java