Package io.debezium.connector
Class AbstractSourceInfoStructMaker<T extends AbstractSourceInfo>
java.lang.Object
io.debezium.connector.AbstractSourceInfoStructMaker<T>
- All Implemented Interfaces:
SourceInfoStructMaker<T>
public abstract class AbstractSourceInfoStructMaker<T extends AbstractSourceInfo>
extends Object
implements SourceInfoStructMaker<T>
Common information provided by all connectors in either source field or offsets.
When this class schema changes the connector implementations should create
a legacy class that will keep the same behaviour.
- Author:
- Jiri Pechanec
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSourceInfoStructMaker(String connector, String version, CommonConnectorConfig connectorConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.kafka.connect.data.SchemaBuilderprotected org.apache.kafka.connect.data.StructcommonStruct(T sourceInfo) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.connector.SourceInfoStructMaker
schema, struct
-
Field Details
-
SNAPSHOT_RECORD_SCHEMA
public static final org.apache.kafka.connect.data.Schema SNAPSHOT_RECORD_SCHEMA -
version
-
connector
-
serverName
-
-
Constructor Details
-
AbstractSourceInfoStructMaker
public AbstractSourceInfoStructMaker(String connector, String version, CommonConnectorConfig connectorConfig)
-
-
Method Details
-
commonSchemaBuilder
protected org.apache.kafka.connect.data.SchemaBuilder commonSchemaBuilder() -
commonStruct
-