Sandeep
Databricks Employee
Databricks Employee

@Sanjay Jain​ , inside your gold_checkpoint_path, there are a few subfolders.

Go to "commits" and check which is the latest file inside (You can see files named 1,2,3,4,.....50,51 so on. File named with the highest number is the latest one. Assume it is 60 for example. This means micro batch 60 is committed. If no batch is committed yet, you will see no files).

And then check for files inside "offsets" folder. see the latest one in that folder too. That will in almost all cases you will see a file with name = latest batchID found in commits + 1 (61 as per this example. If there were no files at all inside commits, then you will see a file named "0" inside this folder.). And If you see this behavior, take a backup of this latest file and then delete it. Then restart the job. This should help!