docs: private static SortedSet<Partition> getBrokerPartitions(ZkClient zkClient, String topic, List<?> brokerList) {
          final String brokerTopicPath = ZkUtils.BrokerTopicsPath + "/" + topic;
          final SortedSet<Partition> brokerParts = new TreeSet<Partition>();
          for (Object brokerId : brokerList) {
              final Integer bid = Integer.valueOf(brokerId.toString());
              final Integer numPartition = Integer.valueOf(ZkUtils.readData(zkClient, brokerTopicPath + "/" + bid));
              for (int i = 0; i < numPartition.intValue(); i++) {
                  brokerParts.add(new Partition(bid, i));
              }
          }
          return brokerParts;
      }