public static <T, R> List<T> checkNew(List<T> last, List<T> current, Function<T, R> keyExtractor) {
        return ListUtil.subtract(current, last, keyExtractor);
    }
Check new elements
@param last Last element list
@param current Current element list
@param keyExtractor Map key extractor
@return List of elements in current but not in last
@param <T> Element type
@param <R> Key type
inlong-common/src/main/java/org/apache/inlong/common/util/SortConfigUtil.java