incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

feature: unify Jackson/fastjson serialization.

Open xjlgod opened this issue 5 months ago • 7 comments

Check Ahead

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

  • [ ] I am willing to try to implement this feature myself.

Why you need it?

Currently, saga, tcc, at, and seata-server use Jackson/fastjson for serialization. We need to unify it. https://github.com/apache/incubator-seata/issues/6937

How it could be?

No response

Other related information

No response

xjlgod avatar Jul 24 '25 12:07 xjlgod

@xjlgod why do you need this issue when https://github.com/apache/incubator-seata/issues/6937 already exists?

pjfanning avatar Jul 27 '25 20:07 pjfanning

@xjlgod why do you need this issue when #6937 already exists?

Because this issue has been around for too long, it's easy to recreate one for everyone to find and claim it

xjlgod avatar Jul 28 '25 02:07 xjlgod

Hi maintainers, I noticed this issue was created a few months ago. I'd like to check if it is still relevant and if anyone is currently working on it. If not, I'm very interested in taking this on and would love to contribute to the Seata community. Could you please assign it to me? Thank you!

Asuka-star avatar Sep 16 '25 00:09 Asuka-star

Hi maintainers, I noticed this issue was created a few months ago. I'd like to check if it is still relevant and if anyone is currently working on it. If not, I'm very interested in taking this on and would love to contribute to the Seata community. Could you please assign it to me? Thank you!

Awesome, thanks! Assigned.

l81893521 avatar Sep 19 '25 16:09 l81893521

After digging into this issue, I've realized that the complexity is beyond my current technical capabilities. To avoid delaying the resolution, I'd like to request to be unassigned.

My apologies for any inconvenience this may cause. I'm still very keen on contributing to Seata and will look for other issues that are a better fit for my current skill set.

Thank you for your understanding!

Asuka-star avatar Oct 03 '25 05:10 Asuka-star

After digging into this issue, I've realized that the complexity is beyond my current technical capabilities. To avoid delaying the resolution, I'd like to request to be unassigned.

My apologies for any inconvenience this may cause. I'm still very keen on contributing to Seata and will look for other issues that are a better fit for my current skill set.

Thank you for your understanding!

Ok,thanks for your work.

xjlgod avatar Oct 18 '25 08:10 xjlgod

@xjlgod I would like to try addressing this issue. First, let me briefly outline my approach:

  1. Define a JSON interface that can cover all the JSON-using scenarios currently present in Seata's Saga, TCC, and AT modules
  2. Provide implementation classes for FastJSON and Jackson respectively
  3. Introduce the SPI mechanism to enable users to customize the serializer
  4. Provide a unified JSON utility class, whose underlying implementation can be dynamically loaded through configuration files or SPI, facilitating users to switch as needed As a new member of the community, there may be aspects that I have not fully considered, such as the need for compatibility with historical versions, performance implications, thread safety, and other issues. I would appreciate your guidance I look forward to contributing to this improvement :)

LegendPei avatar Oct 24 '25 13:10 LegendPei