@Override
  public Map<SystemStreamPartition, String> getOffsets() {
    return Collections.unmodifiableMap(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