abstract fun assign(topicPartition: TopicPartition): KafkaConsumer<K, V>
Manually assign a partition to this consumer.
topicPartition - partition which want assigned
Return
current KafkaConsumer instance
abstract fun assign(topicPartitions: MutableSet<TopicPartition>): KafkaConsumer<K, V>
Manually assign a list of partition to this consumer.
topicPartitions - partitions which want assigned
Return
current KafkaConsumer instance
abstract fun assign(topicPartition: TopicPartition, completionHandler: Handler<AsyncResult<Void>>): KafkaConsumer<K, V>
Manually assign a partition to this consumer.
topicPartition - partition which want assigned
completionHandler - handler called on operation completed
Return
current KafkaConsumer instance
abstract fun assign(topicPartitions: MutableSet<TopicPartition>, completionHandler: Handler<AsyncResult<Void>>): KafkaConsumer<K, V>
Manually assign a list of partition to this consumer.
topicPartitions - partitions which want assigned
completionHandler - handler called on operation completed
Return
current KafkaConsumer instance