Configuring advanced job management
If you need to further customize your SQL Stream job, you can add more advanced features to configure the job restarting method and time, threads for parallelism, sample behavior, exatly once processing and restoring from savepoint.
Restart strategy and restart retry time
The job is restarted after Restart Retry Time seconds, if set to Always. It is not restarted if you select Stop from the SQL Jobs tab. If set to Never, the job does not restart unless you select Restart from the Compose tab.
Job parallelism
The number of threads to start to process the job. Each thread consumes a slot on the cluster.
Sample interval
How often to sample data (in milliseconds) from the output stream. 1000ms is common and recommended.
Exactly Once Processing
Enabling the Flink exactly once processing feature for the data that is generated to the sink.
Restore From Savepoint
Enabling restoring from savepoint for the SQL job, using the state in Flink.