Add committing of offsets, and resuming from where we left off.