assignment

fun assignment(nodes: Collection<String>, partitions: Int): Map<Int, String>

The owner of every partition among partitions when nodes are the members.