Hello everyone!
We decided to upgrade Debezium from version 2.6 to 3.1.1. We use Oracle connector for task. We have quite a lot of fields with the type NUMBER(1) and in the new version instead of the type int8 they come with the type string.
We have in the parameters set
"decimal.handling.mode": "string"
At the same time, if we set it to
"decimal.handling.mode": "precise"
then the connector does not allow records in Kafka at all. I did not find any problems in the logs. The connector starts normally, it seems that it does not see the records in Kafka. As soon as I change it to the old value - everything is ok, but NUMBER(1) = string :).
We know about converter to BOOLEAN - io.debezium.connector.oracle.converters.NumberOneToBooleanConverter, but with it you also get a different type boolean...
We want to return with minimal changes to the state when int8 will be transformed for NUMBER(1). Otherwise, we will have to change the data model of all tables.