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_r258971188
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java
 ##########
 @@ -612,6 +614,41 @@ public boolean hasGenericTypesDisabled() {
                return disableGenericTypes;
        }
 
+       /**
+        * Enables the Flink runtime to auto-generated UID's for operators.
+        *
+        * @see #disableAutoGeneratedUIDs()
+        */
+       public void enableAutoGeneratedUIDs() {
+               disableAutoGeneratedUid = false;
+       }
+
+       /**
+        * Disable's auto-generated UID's forces users to manually specify UID's
+        * on their datastreams using {@code DataStream#uid} or {@code 
DataStream#setUidHash}.
+        *
+        * <p>It is highly recommended that user's specify UID's before 
deploying to
 
 Review comment:
   ```suggestion
         * <p>It is highly recommended that users specify UIDs before deploying 
to
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to