Package io.debezium.connector
Class LegacyV1AbstractSourceInfoStructMaker<T extends AbstractSourceInfo>
java.lang.Object
io.debezium.connector.LegacyV1AbstractSourceInfoStructMaker<T>
- All Implemented Interfaces:
SourceInfoStructMaker<T>
public abstract class LegacyV1AbstractSourceInfoStructMaker<T extends AbstractSourceInfo>
extends Object
implements SourceInfoStructMaker<T>
Legacy source info that does not enforce presence of the version and connector fields
- Author:
- Jiri Pechanec
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLegacyV1AbstractSourceInfoStructMaker
(String connector, String version, CommonConnectorConfig connectorConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.kafka.connect.data.SchemaBuilder
protected org.apache.kafka.connect.data.Struct
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.debezium.connector.SourceInfoStructMaker
schema, struct
-
Field Details
-
DEBEZIUM_VERSION_KEY
- See Also:
-
DEBEZIUM_CONNECTOR_KEY
- See Also:
-
version
-
connector
-
serverName
-
-
Constructor Details
-
LegacyV1AbstractSourceInfoStructMaker
public LegacyV1AbstractSourceInfoStructMaker(String connector, String version, CommonConnectorConfig connectorConfig)
-
-
Method Details
-
commonSchemaBuilder
protected org.apache.kafka.connect.data.SchemaBuilder commonSchemaBuilder() -
commonStruct
protected org.apache.kafka.connect.data.Struct commonStruct()
-