Class KafkaConsumerRecords<K,​V>


  • public class KafkaConsumerRecords<K,​V>
    extends Object
    Vert.x Kafka consumer records

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • KafkaConsumerRecords

        public KafkaConsumerRecords​(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate)
      • KafkaConsumerRecords

        public KafkaConsumerRecords​(Object delegate,
                                    TypeArg<K> typeArg_0,
                                    TypeArg<V> typeArg_1)
      • KafkaConsumerRecords

        public KafkaConsumerRecords​(io.vertx.kafka.client.consumer.KafkaConsumerRecords delegate,
                                    TypeArg<K> typeArg_0,
                                    TypeArg<V> typeArg_1)
    • Method Detail

      • getDelegate

        public io.vertx.kafka.client.consumer.KafkaConsumerRecords getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • size

        public int size()
        Returns:
        the total number of records in this batch
      • isEmpty

        public boolean isEmpty()
        Returns:
        whether this batch contains any records
      • recordAt

        public KafkaConsumerRecord<K,​V> recordAt​(int index)
        Parameters:
        index - the index of the record to get
        Returns:
      • newInstance

        public static <K,​V> KafkaConsumerRecords<K,​V> newInstance​(io.vertx.kafka.client.consumer.KafkaConsumerRecords arg)
      • newInstance

        public static <K,​V> KafkaConsumerRecords<K,​V> newInstance​(io.vertx.kafka.client.consumer.KafkaConsumerRecords arg,
                                                                              TypeArg<K> __typeArg_K,
                                                                              TypeArg<V> __typeArg_V)