apache / apache/fory

[Java] generic object serialization for dubbo generic call

Open
#807 5 comments 0 reactions 0 assignees View on GitHub
enhancement java
Dominant language
Java
Stars
4.5k
Forks
443
Avg merge
6h 3m
Merged PRs (30d)
74

Description

## Is your feature request related to a problem? Please describe.
I added Fury's serialization capability to Dubbo. It works well for interface-based calls, but there are many requests using generic calls of Dubbo. Although the return value is Object in the generic call, it is still deserialized through Fury. However, since the client does not hold the serialized object class, deserialization fails.

## Describe the solution you'd like
When the class does not exist during deserialization in Fury, use a fallback strategy similar to Dubbo's built-in Hessian2 to treat the object as a Map.

## Additional context
https://dubbo.apache.org/en/blog/2018/08/14/generic-invoke-of-dubbo/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.