@Deprecated
  default void onCheckpoint(Map<SystemStreamPartition, String> offsets) {
    afterCheckpoint(offsets);
  }
Called after writing the checkpoint for each Task in the Container processing SSPs on this system.
This method is deprecated. Implement {@link #afterCheckpoint(Map)} instead.

@param offsets offsets that were checkpointed.
samza-api/src/main/java/org/apache/samza/checkpoint/CheckpointListener.java