default void transfer(TsFileInsertionEvent tsFileInsertionEvent) throws Exception {
    try {
      for (final TabletInsertionEvent tabletInsertionEvent :
          tsFileInsertionEvent.toTabletInsertionEvents()) {
        transfer(tabletInsertionEvent);
      }
    } finally {
      tsFileInsertionEvent.close();
    }
  }
This method is used to transfer the {@link TsFileInsertionEvent}.

@param tsFileInsertionEvent {@link TsFileInsertionEvent} to be transferred
@throws PipeConnectionException if the connection is broken
@throws Exception the user can throw errors if necessary
iotdb-api/pipe-api/src/main/java/org/apache/iotdb/pipe/api/PipeConnector.java