public class KafkaSinkReadinessHealth extends BaseHealth
channel, CONNECTION_COUNT_METRIC_NAME
Constructor and Description |
---|
KafkaSinkReadinessHealth(io.vertx.mutiny.core.Vertx vertx,
KafkaConnectorOutgoingConfiguration config,
Map<String,Object> kafkaConfiguration,
org.apache.kafka.clients.producer.Producer<?,?> producer) |
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 KafkaSinkReadinessHealth(io.vertx.mutiny.core.Vertx vertx, KafkaConnectorOutgoingConfiguration config, Map<String,Object> kafkaConfiguration, org.apache.kafka.clients.producer.Producer<?,?> producer)
public io.vertx.mutiny.kafka.admin.KafkaAdminClient getAdmin()
getAdmin
in class BaseHealth
protected void metricsBasedHealthCheck(HealthReport.HealthReportBuilder builder)
metricsBasedHealthCheck
in class BaseHealth
protected void adminBasedHealthCheck(HealthReport.HealthReportBuilder builder)
adminBasedHealthCheck
in class BaseHealth
Copyright © 2018–2021 SmallRye. All rights reserved.