docs: public static AbstractTopology getTopology(Map<Integer, HostInfo> hostInfos, Set<Integer> missingHosts,
              int kfactor, boolean restorePartition ) {
          TopologyBuilder builder = addPartitionsToHosts(hostInfos, missingHosts, kfactor, 0);
          AbstractTopology topo = new AbstractTopology(EMPTY_TOPOLOGY, builder);
          if (restorePartition && hostInfos.size() == topo.getHostCount()) {
              topo = mutateRestorePartitionsForRecovery(topo, hostInfos, missingHosts);
          }
          return topo;
      }