Create an empty cluster instance with no nodes and no topic-partitions.
()
| 75 | * Create an empty cluster instance with no nodes and no topic-partitions. |
| 76 | */ |
| 77 | public static Cluster empty() { |
| 78 | return new Cluster(new ArrayList<Node>(0), new ArrayList<PartitionInfo>(0)); |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Create a "bootstrap" cluster using the given list of host/ports |
no outgoing calls