public TopicPartition getTopicPartition() {
        return topicPartition;
    }
Specifies a remote log segment expected to be found in a second-tier storage.

@param sourceBrokerId The broker which offloaded (uploaded) the segment to the second-tier storage.
@param topicPartition The topic-partition which the remote log segment belongs to.
@param baseOffset The base offset of the remote log segment.
@param records The records *expected* in the remote log segment.
storage/src/test/java/org/apache/kafka/tiered/storage/specs/OffloadedSegmentSpec.java