Package com.zendesk.maxwell.producer
Class FileProducer
- java.lang.Object
-
- com.zendesk.maxwell.producer.AbstractProducer
-
- com.zendesk.maxwell.producer.FileProducer
-
public class FileProducer 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 FileProducer(MaxwellContext context, String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
push(RowMap r)
-
Methods inherited from class com.zendesk.maxwell.producer.AbstractProducer
getDiagnostic, getFailedMessageMeter, getStoppableTask
-
-
-
-
Constructor Detail
-
FileProducer
public FileProducer(MaxwellContext context, String filename) throws IOException
- Throws:
IOException
-
-
Method Detail
-
push
public void push(RowMap r) throws Exception
- Specified by:
push
in classAbstractProducer
- Throws:
Exception
-
-