public Map<Partition, SystemStreamPartitionMetadata> getSystemStreamPartitionMetadata() {
    return Collections.unmodifiableMap(partitionMetadata);
  }
@return A map of SystemStreamPartitionMetadata that includes offset
        information for each partition.
samza-api/src/main/java/org/apache/samza/system/SystemStreamMetadata.java