public int getReplicationFactor() {
        return replicationFactor;
    }
Specifies a topic-partition with attributes customized for the purpose of tiered-storage tests.

@param topicName The name of the topic.
@param partitionCount The number of partitions for the topic.
@param replicationFactor The replication factor of the topic.
@param maxBatchCountPerSegment The maximal number of batch in segments of the topic.
                   This allows to obtain a fixed, pre-determined size for the segment, which ease
                   reasoning on the expected states of local and tiered storages.
@param properties Configuration of the topic customized for the purpose of tiered-storage tests.
storage/src/test/java/org/apache/kafka/tiered/storage/specs/TopicSpec.java