Class KafkaSource<K,V>

java.lang.Object
io.smallrye.reactive.messaging.kafka.impl.KafkaSource<K,V>

public class KafkaSource<K,V> extends Object
  • Constructor Details

  • Method Details

    • reportFailure

      public void reportFailure(Throwable failure, boolean fatal)
    • incomingTrace

      public void incomingTrace(IncomingKafkaRecord<K,V> kafkaRecord, boolean insideBatch)
    • incomingTrace

      public void incomingTrace(IncomingKafkaRecordBatch<K,V> kafkaBatchRecord)
    • getStream

      public io.smallrye.mutiny.Multi<IncomingKafkaRecord<K,V>> getStream()
    • getBatchStream

      public io.smallrye.mutiny.Multi<IncomingKafkaRecordBatch<K,V>> getBatchStream()
    • closeQuietly

      public void closeQuietly()
    • isAlive

      public void isAlive(io.smallrye.reactive.messaging.health.HealthReport.HealthReportBuilder builder)
    • isReady

      public void isReady(io.smallrye.reactive.messaging.health.HealthReport.HealthReportBuilder builder)
    • isStarted

      public void isStarted(io.smallrye.reactive.messaging.health.HealthReport.HealthReportBuilder builder)
    • getConsumer

      public ReactiveKafkaConsumer<K,V> getConsumer()
      For testing purpose only
      Returns:
      get the underlying consumer.
    • getCommitHandler

      public KafkaCommitHandler getCommitHandler()
    • getChannel

      public String getChannel()
    • hasSubscribers

      public boolean hasSubscribers()