简介 查看flink源码时,发现api中有clean()方法,例如下图所示 public <K> KeyedStream<T, K> keyBy(KeySelector<T, K> key) { Preconditions.checkNotNull(key