Use service codec to persist queue data