@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TransformationChain<?, ?> that = (TransformationChain<?, ?>) o;
        return Objects.equals(transformationStages, that.transformationStages);
    }
Represents a chain of {@link Transformation}s to be applied to a {@link ConnectRecord} serially.
@param <T> The type of record included in the {@link ProcessingContext} associated with each record
@param <R> The type of record (must be an implementation of {@link ConnectRecord})
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/TransformationChain.java