A committed offset tells a consumer group where to resume next. After successfully processing offset zero, commit one. After processing through offset four, commit five. Committing the last processed offset replays that record on restart. Committing ahead of completed work can skip records after a crash. The distinction is small in the command and large in its effect. These exercises tell you how many contiguous records finished successfully in one partition. Save the next position for the named group, then compare the committed offset with the partition log end. A zero-lag position is useful evidence only when the corresponding business work really finished.
Inspect the topics, partition logs and group offsets before changing the cluster.