-
Bug
-
Resolution: Done
-
Major
-
None
-
None
MySQL table schema:
CREATE TABLE TEST_SMALLSHORT ( ID INT PRIMARY KEY, FIELD SMALLINT NOT NULL )
The Kafka Connect schema type is Int16, but JdbcValueConverters#convertSmallInt() may return a an int. This causes the following exception:
org.apache.kafka.connect.errors.DataException: Invalid Java object for schema type INT16: class java.lang.Integer