I am new to Mesos and trying to understand the flow when the task is successfully finished and how it is updated to Mesos with Chronos.
(in version 2.4.0) When I have a job where the task finished running asynchronously and finished successfully, then my application that will send the outcome to "/scheduler/task/{id}" (in Chronos TaskManagementResource.scala), then it increments the job success counter, and update last successful run time for the job. Then it calls jobsObserver.apply(JobFinished(job, taskStatus, attempt)) which I am bit confused. What does jobsObserver do?