Avro schema compatibility issues when upgrading from Oracle Debezium 2.5.3.Final to 2.6.1.Final

49 views
Skip to first unread message

Per Dahlén

unread,
May 16, 2024, 9:44:27 AM5/16/24
to debezium
This is a shortened version of the error message:

Caused by: org.apache.kafka.common.config.ConfigException: Failed to access Avro data from topic dbzvivaldi.EHDA.COHEAD : Schema being registered is incompatible with an earlier schema for subject "dbzvivaldi.EHDA.COHEAD-value", details: [{errorType:'READER_FIELD_MISSING_DEFAULT_VALUE', description:'The field 'ts_us' at path '/fields/2/type/fields/7' in the new schema has no default value and is missing in the old schema', additionalInfo:'ts_us'}, {errorType:'READER_FIELD_MISSING_DEFAULT_VALUE', description:'The field 'ts_ns' at path '/fields/2/type/fields/8' in the new schema has no default value and is missing in the old schema', additionalInfo:'ts_ns'}

When we downgrade to 2.5.3.Final the connector starts working again.

Chris Cranford

unread,
May 16, 2024, 11:17:10 AM5/16/24
to debe...@googlegroups.com
Hi -

Can you please raise a Jira issue [1].

Thanks,
Chris

[1]: https://issues.redhat.com/projects/DBZ

On 5/16/24 09:44, Per Dahlén wrote:
This is a shortened version of the error message:

Caused by: org.apache.kafka.common.config.ConfigException: Failed to access Avro data from topic dbzvivaldi.EHDA.COHEAD : Schema being registered is incompatible with an earlier schema for subject "dbzvivaldi.EHDA.COHEAD-value", details: [{errorType:'READER_FIELD_MISSING_DEFAULT_VALUE', description:'The field 'ts_us' at path '/fields/2/type/fields/7' in the new schema has no default value and is missing in the old schema', additionalInfo:'ts_us'}, {errorType:'READER_FIELD_MISSING_DEFAULT_VALUE', description:'The field 'ts_ns' at path '/fields/2/type/fields/8' in the new schema has no default value and is missing in the old schema', additionalInfo:'ts_ns'}

When we downgrade to 2.5.3.Final the connector starts working again. --
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/33089337-5075-4062-9a05-0f84d973665en%40googlegroups.com.

Per Dahlén

unread,
May 17, 2024, 5:09:16 AM5/17/24
to debezium
I've raised a Jira issue now

Reply all
Reply to author
Forward
0 new messages