apache/dubbo

`default` in protocols not work

Open

#12,961 opened on Aug 27, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (26,453 forks)batch import
component/sdkhelp wantedtype/bug

Repository metrics

Stars
 (41,524 stars)
PR merge metrics
 (Avg merge 7d 14h) (20 merged PRs in 30d)

Description

  • I have searched the 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 image

Contributor guide