How to deserialize BigDecimal value received from kafka broker through debezium CDC mechanism?

后端 未结 1 1971
盖世英雄少女心
盖世英雄少女心 2021-01-25 10:27

I have a couple of microservices developed using spring boot and each has its own Postgres database. These microservices exchange data with a CDC mechanism provided by debezium

1条回答
  •  闹比i
    闹比i (楼主)
    2021-01-25 11:04

    this is solution for Java - https://debezium.io/docs/faq/#how_to_retrieve_decimal_field_from_binary_representation

    Also please check decimal.handling.mode option for other ways how BigDecimal can be encoded into the message.

    0 讨论(0)
提交回复
热议问题