public void addFailureEventsToRetryQueue(final Iterable<EnrichedEvent> events) {
    for (final EnrichedEvent event : events) {
      addFailureEventToRetryQueue(event);
    }
  }
Add failure events to retry queue.

@param events events to retry
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/protocol/pipeconsensus/PipeConsensusAsyncConnector.java