title: How to detect a Flink Batch Job finishes
body: <p>Currently, I have a streaming job which is firing a batch job when it receives a specific trigger.</p>
  <p>I want to follow that fired batch job and when it finishes, want to insert an entry to a database like elastic search or so.</p>
  <p>Any ideas, how we can achieve this? How we can listen to that job?</p>