canal icon indicating copy to clipboard operation
canal copied to clipboard

fastjson2序列化数组越界

Open CarlaX opened this issue 1 year ago • 3 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

environment

  • canal version 1.1.7
  • mysql version 8.0.31

Issue Description

canal写入kafka时,json序列化数组越界(fastjson2)

Steps to reproduce

Expected behaviour

Actual behaviour

image

If there is an exception, please attach the exception trace:

Just put your stack trace here!

CarlaX avatar Oct 28 '24 02:10 CarlaX

请问你解决了吗,我也遇到了这个问题

qq511340079 avatar Nov 18 '24 09:11 qq511340079

可以考虑升级fastjson

agapple avatar Dec 17 '24 09:12 agapple

请问你解决了吗,我也遇到了这个问题

后来改了源码,把kafka序列化换成了jackson的了,好像就没出错了

CarlaX avatar Jan 02 '25 07:01 CarlaX