Class KafkaSource<K,V>
- java.lang.Object
-
- io.smallrye.reactive.messaging.kafka.impl.KafkaSource<K,V>
-
public class KafkaSource<K,V> extends Object
-
-
Constructor Summary
Constructors Constructor Description KafkaSource(io.vertx.mutiny.core.Vertx vertx, String group, KafkaConnectorIncomingConfiguration config, javax.enterprise.inject.Instance<KafkaConsumerRebalanceListener> consumerRebalanceListeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeQuietly()
io.smallrye.mutiny.Multi<IncomingKafkaRecord<K,V>>
getStream()
void
isAlive(HealthReport.HealthReportBuilder builder)
void
isReady(HealthReport.HealthReportBuilder builder)
void
reportFailure(Throwable failure)
-
-
-
Constructor Detail
-
KafkaSource
public KafkaSource(io.vertx.mutiny.core.Vertx vertx, String group, KafkaConnectorIncomingConfiguration config, javax.enterprise.inject.Instance<KafkaConsumerRebalanceListener> consumerRebalanceListeners)
-
-
Method Detail
-
reportFailure
public void reportFailure(Throwable failure)
-
getStream
public io.smallrye.mutiny.Multi<IncomingKafkaRecord<K,V>> getStream()
-
closeQuietly
public void closeQuietly()
-
isAlive
public void isAlive(HealthReport.HealthReportBuilder builder)
-
isReady
public void isReady(HealthReport.HealthReportBuilder builder)
-
-