Hi everyone,
I want to use Debezium to stream changes from PostgreSQL to Oracle. I am using the Kafka Connect JDBC Sink Connector with Debezium's ExtractNewRecordState transform. I use Avro with the Apicurio Schema Registry.
Debezium converts the PostgreSQL VARCHAR data types to the String data type in the Avro schema. The JDBC Sink Connector then converts String to CLOB, which is not what I want.
As far as I can see in the Apicurio UI the VARCHAR max length seems not to be present in the Avro schema at all. Is there some way to preserve the VARCHAR max length without manually creating all tables and manually migrating them when the schema changes?
As you can probably guess I am new to Debezium, Kafka, and Kafka Connect. Any help is greatly appreciated.
Cheers,
Bernhard