Since the clinvar-raw producer application has a kubernetes Application-scoped persistent volume now, we can store additional info there like the latest processed offset (similar to how genegraph does it). When pod is redeployed or restarted or updated within the scope of the same Application, the persistent volume of the StatefulSet is not destroyed and the code can restart from the same offset stored there. If the StatefulSet is fully deleted and recreated, it will lose track of where it had processed to previously, but this is probably both okay and desirable.
Since the clinvar-raw producer application has a kubernetes Application-scoped persistent volume now, we can store additional info there like the latest processed offset (similar to how genegraph does it). When pod is redeployed or restarted or updated within the scope of the same Application, the persistent volume of the StatefulSet is not destroyed and the code can restart from the same offset stored there. If the StatefulSet is fully deleted and recreated, it will lose track of where it had processed to previously, but this is probably both okay and desirable.