docs: private static Set<Integer> getPartitionIdsForHosts(AbstractTopology topology, Set<Integer> hostIds) {
          Set<Integer> partitionIds = new HashSet<>();
          for (int hostId : hostIds) {
              partitionIds.addAll(topology.getPartitionIdList(hostId));
          }
          return partitionIds;
      }