Package com.zendesk.maxwell.producer
Class KafkaProducerDiagnostic
- java.lang.Object
-
- com.zendesk.maxwell.producer.KafkaProducerDiagnostic
-
- All Implemented Interfaces:
MaxwellDiagnostic
public class KafkaProducerDiagnostic extends Object implements MaxwellDiagnostic
-
-
Constructor Summary
Constructors Constructor Description KafkaProducerDiagnostic(com.zendesk.maxwell.producer.MaxwellKafkaProducerWorker producer, MaxwellConfig config, PositionStoreThread positionStoreThread)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<MaxwellDiagnosticResult.Check>
check()
CompletableFuture<Long>
getLatency()
String
getName()
String
getResource()
boolean
isMandatory()
-
-
-
Constructor Detail
-
KafkaProducerDiagnostic
public KafkaProducerDiagnostic(com.zendesk.maxwell.producer.MaxwellKafkaProducerWorker producer, MaxwellConfig config, PositionStoreThread positionStoreThread)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceMaxwellDiagnostic
-
check
public CompletableFuture<MaxwellDiagnosticResult.Check> check()
- Specified by:
check
in interfaceMaxwellDiagnostic
-
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory
in interfaceMaxwellDiagnostic
-
getResource
public String getResource()
- Specified by:
getResource
in interfaceMaxwellDiagnostic
-
getLatency
public CompletableFuture<Long> getLatency()
-
-