@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CheckpointV1 that = (CheckpointV1) o;

    return Objects.equals(offsets, that.offsets);
  }
Gets a unmodifiable view of the current Samza input stream offsets.

@return a unmodifiable view of a Map of Samza streams to their recorded offsets.
samza-api/src/main/java/org/apache/samza/checkpoint/CheckpointV1.java