Reputation: 25
We can handle the idleness in datastream api via this code block:
WatermarkStrategy
.<Tuple2<Long,String>>forBoundedOutOfOrderness(Duration.ofSeconds(20))
.withIdleness(Duration.ofMinutes(1));
But is something similar possible in flink table/SQL api?
Upvotes: 0
Views: 978
Reputation: 43439
You can set table.exec.source.idle-timeout
. See https://nightlies.apache.org/flink/flink-docs-stable/docs/dev/table/config/#table-exec-source-idle-timeout for more info.
Upvotes: 2