dawidwys commented on a change in pull request #7747: [FLINK-11653][DataStream] Add configuration to enforce custom UID's o… URL: https://github.com/apache/flink/pull/7747#discussion_r259307808
########## File path: flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java ########## @@ -612,6 +614,42 @@ public boolean hasGenericTypesDisabled() { return disableGenericTypes; } + /** + * Enables the Flink runtime to auto-generate UID's for operators. + * + * @see #disableAutoGeneratedUIDs() + */ + public void enableAutoGeneratedUIDs() { + enableAutoGeneratedUids = true; + } + + /** + * Disables auto-generated UIDs. Forces users to manually specify UIDs + * on their datastreams using {@code DataStream#uid} or {@code DataStream#setUidHash} Review comment: Actually `DataStream` has neither `uid` nor `setUidHash` methods. I think it is enough to say that it forces to use manually specified UIDs. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services