apache / apache/dubbo-website

dubbo:service Please add id or name property

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

Description

According to this line:
https://github.com/apache/dubbo/blob/master/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java#L101

In fact, either id or name property is important for ``.
When using group to distinguish different implementations but forgetting to configure both id and name property, I fail to invoke interface methods smoothly via jmeter. I have to add a number after interface name.

According to this line:
https://github.com/apache/dubbo/blob/master/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboNamespaceHandler.java#L69

I understand that adding a number after a interface name is not requried when using `dubbo:reference`.
It seems that quite a few people don't know these.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the referenced lines in DubboBeanDefinitionParser.java and DubboNamespaceHandler.java, then locate the documentation for and . Clarify how id, name, and grouped implementations affect invocation, and ensure the documentation explains the expected configuration and interface naming behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.