KSQLDB Table with tumbling window and emit final

Using EMIT FINAL the data should show up in the topic. However note, that when you query the table directly, you access RocksDB and might get data of still open windows. Data will only go into the topic after a window was closed, and using EMIT FINAL a window only closes after grace-period passed, what implies that data must keep flowing to increase stream-time. If data stops flowing and stream-time stops, windows might be kept open and data would be “stuck” in open windows, until new input records with larger timestamps arrive.