public R apply(R record) {
        if (predicate == null || negate ^ predicate.test(record)) {
            return transformation.apply(record);
        }
        return record;
    }
Wrapper for a {@link Transformation} and corresponding optional {@link Predicate}
which applies the transformation when the {@link Predicate} is true (or false, according to {@code negate}).
If no {@link Predicate} is provided, the transformation will be unconditionally applied.
@param <R> The type of record (must be an implementation of {@link ConnectRecord})
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/TransformationStage.java