public static FetchSnapshotResponse parse(ByteBuffer buffer, short version) {
        return new FetchSnapshotResponse(new FetchSnapshotResponseData(new ByteBufferAccessor(buffer), version));
    }
Finds the PartitionSnapshot for a given topic partition.

@param data the fetch snapshot response data
@param topicPartition the topic partition to find
@return the response partition snapshot if found, otherwise an empty Optional
clients/src/main/java/org/apache/kafka/common/requests/FetchSnapshotResponse.java