public static RemoteLogSegmentId generateNew(TopicIdPartition topicIdPartition) {
        return new RemoteLogSegmentId(topicIdPartition, Uuid.randomUuid());
    }
Creates a new {@link RemoteLogSegmentId} for the provided {@link TopicIdPartition} with a random Uuid.

@param topicIdPartition TopicIdPartition of this remote log segment.
@return generated RemoteLogSegmentId.
storage/api/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogSegmentId.java