public class CommitTransactionEventWriter extends AbstractBinlogEventWriter<CommitTransactionEventInfo>
jsonGeneratorAPPLICATION_JSON, CDC_EVENT_TYPE_ATTRIBUTE, SEQUENCE_ID_KEY| Constructor and Description |
|---|
CommitTransactionEventWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
writeEvent(ProcessSession session,
String transitUri,
CommitTransactionEventInfo eventInfo,
long currentSequenceId,
Relationship relationship,
EventWriterConfiguration eventWriterConfiguration) |
protected void |
writeJson(CommitTransactionEventInfo event) |
configureEventWriter, finishAndTransferFlowFile, getCommonAttributes, maxEventsPerFlowFile, oneTransactionPerFlowFilecreateJsonGenerator, endFile, endJson, startJsonpublic long writeEvent(ProcessSession session, String transitUri, CommitTransactionEventInfo eventInfo, long currentSequenceId, Relationship relationship, EventWriterConfiguration eventWriterConfiguration)
writeEvent in interface EventWriter<CommitTransactionEventInfo>writeEvent in class AbstractBinlogEventWriter<CommitTransactionEventInfo>protected void writeJson(CommitTransactionEventInfo event) throws IOException
writeJson in class AbstractBinlogEventWriter<CommitTransactionEventInfo>IOExceptionCopyright © 2024 Apache NiFi Project. All rights reserved.