JavaScript is disabled on your browser.
Debezium Connector for MySQL 1.5.0.CR1
Type Parameters:
R - the subtype of ConnectRecord on which this transformation will operate
All Implemented Interfaces:
Closeable , AutoCloseable , org.apache.kafka.common.Configurable, org.apache.kafka.connect.transforms.Transformation<R>
public class ReadToInsertEvent<R extends org.apache.kafka.connect.connector.ConnectRecord<R>>
extends Object
implements org.apache.kafka.connect.transforms.Transformation<R>
This SMT allows the MySql connector to emit snapshot events as "c" operation type (CREATE) by changing the 'op' field of the records
from "r" (default) to "c".
Author:
Anisha Mohanty
Method Summary
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
apply
public R apply(R record)
Specified by:
apply in interface org.apache.kafka.connect.transforms.Transformation<R extends org.apache.kafka.connect.connector.ConnectRecord<R >>
close
public void close()
Specified by:
close in interface Closeable
Specified by:
close in interface AutoCloseable
Specified by:
close in interface org.apache.kafka.connect.transforms.Transformation<R extends org.apache.kafka.connect.connector.ConnectRecord<R >>
Debezium Connector for MySQL 1.5.0.CR1
Copyright © 2021 JBoss by Red Hat . All rights reserved.