Package com.zendesk.maxwell.producer
Class MaxwellKafkaProducer
- java.lang.Object
-
- com.zendesk.maxwell.producer.AbstractProducer
-
- com.zendesk.maxwell.producer.MaxwellKafkaProducer
-
public class MaxwellKafkaProducer extends AbstractProducer
-
-
Field Summary
-
Fields inherited from class com.zendesk.maxwell.producer.AbstractProducer
context, failedMessageCount, failedMessageMeter, messageLatencySloViolationCount, messageLatencyTimer, messagePublishTimer, outputConfig, succeededMessageCount, succeededMessageMeter
-
-
Constructor Summary
Constructors Constructor Description MaxwellKafkaProducer(MaxwellContext context, Properties kafkaProperties, String kafkaTopic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaProducerDiagnostic
getDiagnostic()
StoppableTask
getStoppableTask()
void
push(RowMap r)
-
Methods inherited from class com.zendesk.maxwell.producer.AbstractProducer
getFailedMessageMeter
-
-
-
-
Constructor Detail
-
MaxwellKafkaProducer
public MaxwellKafkaProducer(MaxwellContext context, Properties kafkaProperties, String kafkaTopic)
-
-
Method Detail
-
push
public void push(RowMap r) throws Exception
- Specified by:
push
in classAbstractProducer
- Throws:
Exception
-
getStoppableTask
public StoppableTask getStoppableTask()
- Overrides:
getStoppableTask
in classAbstractProducer
-
getDiagnostic
public KafkaProducerDiagnostic getDiagnostic()
- Overrides:
getDiagnostic
in classAbstractProducer
-
-