Correction: The first link was supposed to be, 1. pipeline.auto-watermark-interval https://ci.apache.org/projects/flink/flink-docs-release-1.12/deployment/config.html#pipeline-auto-watermark-interval
On Wed, Mar 3, 2021 at 7:46 PM Aeden Jameson <aeden.jame...@gmail.com> wrote: > > I'm hoping to have my confusion clarified regarding the settings, > > 1. pipeline.auto-watermark-interval > https://ci.apache.org/projects/flink/flink-docs-master/api/java/org/apache/flink/api/common/ExecutionConfig.html#setAutoWatermarkInterval-long- > > 2. setAutoWatermarkInterval > https://ci.apache.org/projects/flink/flink-docs-master/api/java/org/apache/flink/api/common/ExecutionConfig.html#setAutoWatermarkInterval-long- > > I noticed the default value of pipeline.auto-watermark-interval is 0 > and according to these docs, > https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/table/sql/create.html#watermark, > it states, "If watermark interval is 0ms, the generated watermarks > will be emitted per-record if it is not null and greater than the last > emitted one." However in the documentation for > setAutoWatermarkInterval the value 0 disables watermark emission. > > * Are they intended to be the same setting? If not how are they > different? Is one for FlinkSql and the other DataStream API? > > -- > Thank you, > Aeden