public class KafkaSourceReadinessHealth extends BaseHealth
CONNECTION_COUNT_METRIC_NAME
Constructor and Description |
---|
KafkaSourceReadinessHealth(KafkaSource<?,?> source,
io.vertx.mutiny.core.Vertx vertx,
KafkaConnectorIncomingConfiguration config,
Map<String,?> kafkaConfiguration,
org.apache.kafka.clients.consumer.Consumer<?,?> consumer,
Set<String> topics,
Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
protected void |
adminBasedHealthCheck(HealthReport.HealthReportBuilder builder) |
io.vertx.mutiny.kafka.admin.KafkaAdminClient |
getAdmin() |
protected void |
metricsBasedHealthCheck(HealthReport.HealthReportBuilder builder) |
close, getMetric, isReady
public KafkaSourceReadinessHealth(KafkaSource<?,?> source, io.vertx.mutiny.core.Vertx vertx, KafkaConnectorIncomingConfiguration config, Map<String,?> kafkaConfiguration, org.apache.kafka.clients.consumer.Consumer<?,?> consumer, Set<String> topics, Pattern pattern)
protected void metricsBasedHealthCheck(HealthReport.HealthReportBuilder builder)
metricsBasedHealthCheck
in class BaseHealth
protected void adminBasedHealthCheck(HealthReport.HealthReportBuilder builder)
adminBasedHealthCheck
in class BaseHealth
public io.vertx.mutiny.kafka.admin.KafkaAdminClient getAdmin()
getAdmin
in class BaseHealth
Copyright © 2018–2021 SmallRye. All rights reserved.