I have a flink streaming job which reads from Kafka and writes into appropriate partitions in file system. For instance, the job is configured to use a bucketing sink which writes to /data/date=${date}/hour=${hour}.
How to detect that the partition is ready to be used so that a corresponding airflow pipeline can do some batch processing on top of that hour?