apache / apache/dubbo

`default` in protocols not work

Open
#12,961 0 comments 0 reactions 0 assignees View on GitHub
component/sdk help wanted type/bug
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.

Dubbo version: 3.2.5
Operating System version: windows
Java version: 1.8.0

dubbo配置文件里的 dubbo.protocols.rest.default=false 不生效,看了下应该是org.apache.dubbo.config.AbstractConfig#isDefault 方法有 @Parameter(excluded = true, attribute = false) 注解,导致被 org.apache.dubbo.config.AbstractConfig#isIgnoredAttribute 方法忽略了,这是有BUG,还是要准备用其它方式配置呢?
![image](https://github.com/apache/dubbo/assets/34413265/7e0312c1-0ca6-4b1e-98a0-b5a0aeb3cc99)
![image](https://github.com/apache/dubbo/assets/34413265/ef0cca81-c2ec-4565-9dc0-3e817c05eed8)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior with Dubbo 3.2.5 on Windows and dubbo.protocols.rest.default=false. Read org.apache.dubbo.config.AbstractConfig#isDefault and #isIgnoredAttribute, focusing on how the @Parameter annotation affects this configuration. Done means the setting is either honored consistently or the supported configuration path is clearly established, with regression coverage for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.