title: Apache Flink: My application does not resume from a checkpoint when I restart it
body: <p>I have a Flink job in which I am reading files from a folder and dumping it in database. New files will come in that folder daily.</p>
  <p>I have enabled checkpointing so that if for any reason Flink job stops and I need to restart, Flink job should not read the files that already been read.</p>
  <p>I have added below lines in my code but when I restart my job, Flink job again reads all the files.</p>
  <pre class="lang-java prettyprint-override"><code>env.setStateBackend(new FsStateBackend(&quot;file:///C://Users//folder&quot;));
  env.enableCheckpointing(10L);
  </code></pre>