fury icon indicating copy to clipboard operation
fury copied to clipboard

[Java] Does dubbo support fury serialization?

Open 9997766 opened this issue 2 years ago • 5 comments

Our project uses Dubbo as a microservice framework. Does Fury currently support Dubbo? If we want to integrate Fury ourselves, how should we make Dubbo to support fury?

9997766 avatar Jul 27 '23 06:07 9997766

@9997766 we do want to add fury support for dubbo, but we have no time for it now. Maybe later. Currently you need to change dubbo code to add a new serialization framework.

chaokunyang avatar Jul 27 '23 10:07 chaokunyang

Hi @9997766 . I just add fury integration for dubbo in https://github.com/fury-project/dubbo-serialization-fury. Feel free to try it out and let us know if you have any usage issues.

FYI, https://github.com/chaokunyang/fury-dubbo-example is a out-of-box runable example.

chaokunyang avatar Aug 20 '23 03:08 chaokunyang

谢谢,我有碰到个问题, 程序A启动时,会调服务B获取数据,并加载到A的本地缓存。 如果A不是用主线程加载,而是用forkjoinpool 线程加载,会报appCloassLoader找不到java类的问题,此处说的java类就是要调服务B获取的数据的Java类。不知你们有没有碰到,如何解决?

At 2023-08-20 11:31:55, "Shawn" @.***> wrote:

Hi @9997766 . I just add fury integration for dubbo in https://github.com/fury-project/dubbo-serialization-fury. Feel free to try it out and let us know if you have any usage issues.

FYI, https://github.com/chaokunyang/fury-dubbo-example is a out-of-box runable example.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

9997766 avatar Aug 26 '23 03:08 9997766

谢谢,我有碰到个问题, 程序A启动时,会调服务B获取数据,并加载到A的本地缓存。 如果A不是用主线程加载,而是用forkjoinpool 线程加载,会报appCloassLoader找不到java类的问题,此处说的java类就是要调服务B获取的数据的Java类。不知你们有没有碰到,如何解决? At 2023-08-20 11:31:55, "Shawn" @.> wrote: Hi @9997766 . I just add fury integration for dubbo in https://github.com/fury-project/dubbo-serialization-fury. Feel free to try it out and let us know if you have any usage issues. FYI, https://github.com/chaokunyang/fury-dubbo-example is a out-of-box runable example. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

@9997766 I added support for switch to thead context classloader in https://github.com/fury-project/dubbo-serialization-fury/pull/9, does this fix your issue?

chaokunyang avatar Sep 01 '23 10:09 chaokunyang

FYI, dubbo has supported fury serialization, https://github.com/apache/dubbo-spi-extensions/pull/226

chaokunyang avatar Oct 29 '23 12:10 chaokunyang