Uses of Interface
io.vertx.kafka.client.consumer.KafkaReadStream

Packages that use KafkaReadStream
Package
Description
 
  • Uses of KafkaReadStream in io.vertx.kafka.client.consumer

    Modifier and Type
    Method
    Description
    KafkaReadStream.assign(Set<org.apache.kafka.common.TopicPartition> partitions, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Manually assign a set of partitions to this consumer.
    KafkaReadStream.assignment(io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<org.apache.kafka.common.TopicPartition>>> handler)
    Get the set of partitions currently assigned to this consumer.
    KafkaConsumer.asStream()
     
    KafkaReadStream.batchHandler(io.vertx.core.Handler<org.apache.kafka.clients.consumer.ConsumerRecords<K,V>> handler)
    Set the handler that will be called when a new batch of records is returned from Kafka.
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, KafkaClientOptions options)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, KafkaClientOptions options, Class<K> keyType, Class<V> valueType)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, KafkaClientOptions options, org.apache.kafka.common.serialization.Deserializer<K> keyDeserializer, org.apache.kafka.common.serialization.Deserializer<V> valueDeserializer)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, Map<String,Object> config)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, Map<String,Object> config, Class<K> keyType, Class<V> valueType)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, Map<String,Object> config, org.apache.kafka.common.serialization.Deserializer<K> keyDeserializer, org.apache.kafka.common.serialization.Deserializer<V> valueDeserializer)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, Properties config)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, Properties config, Class<K> keyType, Class<V> valueType)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, Properties config, org.apache.kafka.common.serialization.Deserializer<K> keyDeserializer, org.apache.kafka.common.serialization.Deserializer<V> valueDeserializer)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, org.apache.kafka.clients.consumer.Consumer<K,V> consumer)
    Create a new KafkaReadStream instance
    static <K, V> KafkaReadStream<K,V>
    KafkaReadStream.create(io.vertx.core.Vertx vertx, org.apache.kafka.clients.consumer.Consumer<K,V> consumer, KafkaClientOptions options)
    Create a new KafkaReadStream instance
    KafkaReadStream.endHandler(io.vertx.core.Handler<Void> endHandler)
     
    KafkaReadStream.exceptionHandler(io.vertx.core.Handler<Throwable> handler)
     
    KafkaReadStream.fetch(long amount)
     
    KafkaReadStream.handler(io.vertx.core.Handler<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>> handler)
     
    KafkaReadStream.listTopics(io.vertx.core.Handler<io.vertx.core.AsyncResult<Map<String,List<org.apache.kafka.common.PartitionInfo>>>> handler)
    Get metadata about partitions for all topics that the user is authorized to view.
    KafkaReadStream.partitionsAssignedHandler(io.vertx.core.Handler<Set<org.apache.kafka.common.TopicPartition>> handler)
    Set the handler called when topic partitions are assigned to the consumer
    KafkaReadStream.partitionsFor(String topic, io.vertx.core.Handler<io.vertx.core.AsyncResult<List<org.apache.kafka.common.PartitionInfo>>> handler)
    Get metadata about the partitions for a given topic.
    KafkaReadStream.partitionsRevokedHandler(io.vertx.core.Handler<Set<org.apache.kafka.common.TopicPartition>> handler)
    Set the handler called when topic partitions are revoked to the consumer
    KafkaReadStream.pause()
     
    KafkaReadStream.pause(Set<org.apache.kafka.common.TopicPartition> topicPartitions, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Suspend fetching from the requested partitions.
    KafkaReadStream.pollTimeout(Duration timeout)
    Sets the poll timeout for the underlying native Kafka Consumer.
    KafkaReadStream.resume()
     
    KafkaReadStream.resume(Set<org.apache.kafka.common.TopicPartition> topicPartitions, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Resume specified partitions which have been paused with pause.
    KafkaReadStream.seek(org.apache.kafka.common.TopicPartition topicPartition, long offset, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Overrides the fetch offsets that the consumer will use on the next poll.
    KafkaReadStream.seekToBeginning(Set<org.apache.kafka.common.TopicPartition> topicPartitions, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Seek to the first offset for each of the given partitions.
    KafkaReadStream.seekToEnd(Set<org.apache.kafka.common.TopicPartition> topicPartitions, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Seek to the last offset for each of the given partitions.
    KafkaReadStream.subscribe(Pattern pattern, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Subscribe to all topics matching specified pattern to get dynamically assigned partitions.
    KafkaReadStream.subscribe(Set<String> topics, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Subscribe to the given list of topics to get dynamically assigned partitions.
    KafkaReadStream.subscription(io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<String>>> handler)
    Get the current subscription.
    KafkaReadStream.unsubscribe(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Unsubscribe from topics currently subscribed with subscribe.