Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2) If there is yet another crash of the first consumer, then the lag that results will have its offsets be written to the second commit log. While the offsets that are fetched beginning at the end of the log being committed to the first commit logAnd you could probably guess where the remaining offsets would go based upon the policy described in the previous step. For example, if we were to crash again at offset 170 and recover at a point where the end of the log has grown to 190, with the last checkpointed offset being at 140. Then we will commit offsets 140 - 190 in the second commit log, and 190+ in the first.

...