You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2024/11/20 08:45:02 UTC

(dubbo) branch 3.3 updated: Update README.md

This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.3 by this push:
     new 6c72e66438 Update README.md
6c72e66438 is described below

commit 6c72e66438a68030c859b8fc61d95e474be1ad41
Author: Ken Liu <ke...@gmail.com>
AuthorDate: Wed Nov 20 16:44:58 2024 +0800

    Update README.md
---
 dubbo-demo/README.md | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/dubbo-demo/README.md b/dubbo-demo/README.md
index 8dcfecb189..b406bab414 100644
--- a/dubbo-demo/README.md
+++ b/dubbo-demo/README.md
@@ -1,18 +1,13 @@
 # Dubbo Demo
 
-This directory contains basic usages of Dubbo to help Dubbo developers for debugging and smoke test purpose. If you are looking for Dubbo samples for study purpose, you should look into here where you will find comprehensive usages for how to use Dubbo in different scenarios with the different features.
+This directory contains basic Dubbo usages to help Dubbo developers with debugging and smoke test purposes. Check [dubbo-samples](https://github.com/apache/dubbo-samples) repository for more examples that showcase Dubbo's rich features.
 
 ## Brief introduction
 
-Dubbo provides three demos that illustrate different usage scenarios:
-
 1. **`dubbo-demo-api`**
-   This demo demonstrates the basic usage of Dubbo, serving as a fundamental example. It showcases how to define and implement a simple service using Dubbo, along with how to register and consume the service. This is a great starting point for understanding core concepts in Dubbo, such as interface definitions, service exposure, and service consumption.
+   This demo demonstrates the basic usage of Dubbo's RPC protocol, serving as a fundamental example. It showcases how to define and implement a simple RPC service using Dubbo, how to start a server that serves at a specified port and then a consumer that consumes the service. 
 2. **`dubbo-demo-springboot`**
    This demo illustrates the integration of Dubbo with Spring Boot, showing how Dubbo services can be utilized and configured within a Spring Boot application. It demonstrates how to configure and manage Dubbo services seamlessly through Spring Boot, making it ideal for developers leveraging the popular Spring Boot framework.
 3. **`dubbo-demo-springboot-idl`**
    This demo focuses on showcasing how to use Dubbo with Spring Boot when IDL (Interface Definition Language) files such as Proto files are available. It illustrates how developers can work with Dubbo services defined through IDL, integrating them into a Spring Boot application.
 
-## How to run
-
-First, you need to set up Zookeeper as the registry center. Use the `cd` command to navigate to the specific module directory, then run `mvn clean compile` (particularly for the `dubbo-demo-springboot-idl` module, as code generated from the proto files is located in the target directory). Start the provider first, followed by the consumer, to experience the functionality of Dubbo.