Skip to content

[Discussion] @Reference和@Service Naming issues #6007

@mercyblitz

Description

@mercyblitz

The source: apache/dubbo-spring-boot-project#447
The reporter: @linux-china

-- Original Content --

看readme中的demo

@Service(version = "1.0.0")
public class DefaultDemoService implements DemoService {

这个@service 和Spring中的@repository@service太容易混淆啦。 个人是建议调整为 @DubboService 和 @DubboReference

org.apache.dubbo.config.annotation.Service
org.apache.dubbo.config.annotation.Reference

Spring Boot和其他的RPC框架整合的Demo中,如grpc为 @GRpcService, RSocket RPC为 @RSocketService等

Metadata

Metadata

Assignees

Labels

type/proposalEverything you want Dubbo have

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions