You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/02/18 19:28:25 UTC

[GitHub] sjwiesman opened a new pull request #7747: [FLINK-11653][DataStream] Add configuration to enforce custom UID's o…

sjwiesman opened a new pull request #7747: [FLINK-11653][DataStream] Add configuration to enforce custom UID's o…
URL: https://github.com/apache/flink/pull/7747
 
 
   …n datastream
   ## What is the purpose of the change
   
   Current best practice when deploying Flink applications to production is to set a custom UID, using DataStream#uid, so jobs can resume from savepoints even if they job graph has been modified. Flink should contain a configuration that can allow users to fail submission if their program contains an operator without a custom UID; enforcing best practices similarly to #disableGenericTypes. 
   
   ## Brief change log
   
   Adds a new configuration #disableAutoGeneratedUIDs which will fail job submission if there are any operators without a custom uid. 
   
   
   ## Verifying this change
   
   This change added tests and can be verified as follows:
   
   *(example:)*
     - Added test to StreamingJobGraphGeneratorTest
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no
     - The serializers: no
     - The runtime per-record code paths (performance sensitive): no
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? yes
     - If yes, how is the feature documented? docs
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services