Once we stop the task, we can find the below lines at the end of the task log. Collect stream position and last source timestamp.
00015484: 2022-03-24T19:25:08:107263 [SORTER ]I: Final saved task state. Stream position USREM-HDW-bin.000015:737:-1:768:64424509985:USREM-HDW-bin.000015:612, Source id 8, next Target id 25, confirmed Target id 21, last source timestamp 1648163672000000 (sorter.c:770)