public void attempt(int attempt) {
        this.attempt = attempt;
    }
@param attempt the number of attempts made to execute the current operation.
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/errors/ProcessingContext.java