Skip to content

Using decimal.handling.mode=precision throws error #336

@suranjan

Description

@suranjan

The default decimal handling mode is precision. The use of this mode fails with the exception. Caused by: org.apache.kafka.connect.errors.DataException: Decimal value has mismatching scale for given Decimal schema. Schema has scale -1, value has scale 0.

This is due to the decimal type metadata not present in the Debezium and using the default value to decode.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions