Class KafkaSource<K,​V>


  • public class KafkaSource<K,​V>
    extends Object
    • Method Detail

      • getSubscribedTopics

        public Set<String> getSubscribedTopics()
      • reportFailure

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

        public void incomingTrace​(IncomingKafkaRecord<K,​V> kafkaRecord,
                                  boolean insideBatch)
      • 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.
      • getChannel

        public String getChannel()
      • hasSubscribers

        public boolean hasSubscribers()