static Node[] getRandomReplica(final List<Node> nodeList, final int index, final int partition) {
        final Node firstNode = nodeList.get((index * partition) % nodeList.size());
        final Node secondNode = nodeList.get((index * partition + 1) % nodeList.size());
        return new Node[] {firstNode, secondNode};
    }
Builds a ProcessId with a UUID by repeating the given number n. For valid n, it is guaranteed that the returned UUIDs satisfy
the same relation relative to others as their parameter n does: iff n < m, then uuidForInt(n) < uuidForInt(m)
streams/src/test/java/org/apache/kafka/streams/processor/internals/assignment/AssignmentTestUtils.java