Hi Amol, The memory consumption depends on the query/operation that you are doing. Time-based operations like group-window-aggregations, over-window-aggregations, or window-joins can automatically clean up their state once data is not no longer needed. Operations such as non-windowed aggregations or joins have to persist all data forever in state to guarantee absolute correctness. However, you can also configure an idle state retention time [1] to remove state that has not been accessed for a certain time. Regarding you questions: 1) Unless you configure the idle state retention time, state is kept as long as needed to guarantee correctness, potentially forever. 2) Queries use Flink's regular state features, i.e., you can configure the RocksDBStateBackend to manage state on disk. 3) This depends on your query and the distribution of your data. Best, Fabian 2018-07-04 7:46 GMT+02:00 Amol S - iProgrammer <[hidden email]>: Hello folks, |
State is maintained in the configured state backend [1]. Best, Fabian 2018-07-04 11:38 GMT+02:00 Amol S - iProgrammer <[hidden email]>:
|
Free forum by Nabble | Edit this page |