@Override
    public String toString() {
        return "TopicAssignment" +
            "(assignments=" + assignments +
            ")";
    }
@return The replica assignment for each partition, where the index in the list corresponds to different partition.
metadata/src/main/java/org/apache/kafka/metadata/placement/TopicAssignment.java