apache / apache/dubbo-website

序列化协议升级

Open
#2,911 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
491
Forks
809
Avg merge
1d 6h
Merged PRs (30d)
6

Description

如果消费方也是新版本,但是似乎没办法按照文档所说的存在优先级的判断。如:配置dubbo.provider.prefer-serialization=fury,fastjson2。此时如果消费方不存在fury。则会报错。代码里只是简单获取第一条而已,并没有校验是否存在该序列化方式的实现.
Optional serializations = allSerializations(url).stream().findFirst();

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the implementation containing `allSerializations(url).stream().findFirst()` and compare it with the documentation for `dubbo.provider.prefer-serialization`. Reproduce the case where `fury` is unavailable and `fastjson2` is configured, then verify that the observed selection behavior matches the documented priority and add or update the relevant regression coverage if the project provides it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.