vertx / io.vertx.kafka.client.consumer / KafkaReadStream / assign

# assign

`abstract fun assign(partitions: MutableSet<TopicPartition>): KafkaReadStream<K, V>`

Manually assign a list of partition to this consumer.

### Parameters

`partitions` - partitions which want assigned

Return
current KafkaReadStream instance

`abstract fun assign(partitions: MutableSet<TopicPartition>, completionHandler: Handler<AsyncResult<Void>>): KafkaReadStream<K, V>`

Manually assign a list of partition to this consumer.

### Parameters

`partitions` - partitions which want assigned

`completionHandler` - handler called on operation completed

Return
current KafkaReadStream instance