Move offset reset to a helper function to let user explicitly delete ZK metadata by calling this API