Explore Dubbo usage examples in dubbo-demo
3.3The dubbo-demo directory provides basic Dubbo usage examples intended for debugging and smoke testing. It covers three primary scenarios:
- Basic RPC Protocol (
dubbo-demo-api): Demonstrates fundamental RPC usage, including defining and implementing a simple service, starting a server on a specific port, and creating a consumer to call that service. - Spring Boot Integration (
dubbo-demo-springboot): Shows how to integrate Dubbo with Spring Boot, including configuring and managing Dubbo services within the Spring Boot lifecycle. - Spring Boot with IDL (
dubbo-demo-springboot-idl): Demonstrates how to use Dubbo with Spring Boot when services are defined using Interface Definition Language (IDL) files, such as Proto files.
For more advanced and feature-rich examples, refer to the dubbo-samples repository.