code: public List<PartitionInfo> getPartitionInfo(String topicName) {
          Map<String, List<PartitionInfo>> topicInfo = getTopicInfo();
          List<PartitionInfo> partitionInfo = topicInfo != null ? topicInfo.get(topicName) : null;
          return partitionInfo != null ? Collections.unmodifiableList(partitionInfo) : null;
      }
docs: Gets partition information of a topic.
  
  @param topicName
  @return list of {@link PartitionInfo} or {@code null} if topic does not
  exist.
  @since 1.3.0