Till Rohrmann created FLINK-26098:
-------------------------------------

             Summary: TableAPI does not forward idleness configuration from 
DataStream
                 Key: FLINK-26098
                 URL: https://issues.apache.org/jira/browse/FLINK-26098
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
    Affects Versions: 1.14.3, 1.15.0
            Reporter: Till Rohrmann


The TableAPI does not forward the idleness configuration from a DataStream 
source. That can lead to the halt of processing if all sources are idle because 
{{WatermarkAssignerOperator}} [1] will never set a channel to active again. The 
only way to mitigate the problem is to explicitly configure the idleness for 
table sources via {{table.exec.source.idle-timeout}}. Configuring this value is 
actually not easy because creating a {{StreamExecutionEnvironment}} via 
{{create(StreamExecutionEnvironment, TableConfig)}} is deprecated.

[1] 
https://github.com/apache/flink/blob/master/flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/wmassigners/WatermarkAssignerOperator.java#L103



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to