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

assignment

abstract fun assignment(handler: Handler<AsyncResult<MutableSet<TopicPartition>>>): KafkaReadStream<K, V>

Get the set of partitions currently assigned to this consumer.

Parameters

handler - handler called on operation completed

Return
current KafkaReadStream instance