public void Assign(TopicPartition partition)
 {
     cluster.Assign(this, new List <TopicPartition> {
         partition
     });
 }
 public void Assign(IEnumerable <TopicPartitionOffset> partitions)
 {
     cluster.Assign(this, partitions);
     Assignment = partitions.Select(t => t.TopicPartition).ToList();
 }