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 RX-ified interface using Vert.x codegen.

    • Field Detail

      • __typeArg_0

        public final io.vertx.lang.rx.TypeArg<K> __typeArg_0
      • __typeArg_1

        public final io.vertx.lang.rx.TypeArg<V> __typeArg_1
    • Constructor Detail

      • KafkaConsumerRecords

        public KafkaConsumerRecords​(Object delegate,
                                    io.vertx.lang.rx.TypeArg<K> typeArg_0,
                                    io.vertx.lang.rx.TypeArg<V> typeArg_1)
    • Method Detail

      • 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)
        Get the record at the given index
        Parameters:
        index - the index of the record to get
        Returns: