Last active
May 17, 2018 12:24
-
-
Save gupta-himanshu/c5cfd678f453cde34d07e71a59a504fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(); | |
env.enableCheckpointing(5000); // create a checkpoint every 5 seconds | |
env.getConfig().setGlobalJobParameters(parameterTool); // make parameters available in the web interface | |
env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment