Pil0tXia commented on code in PR #4709: URL: https://github.com/apache/eventmesh/pull/4709#discussion_r1447747987
########## README.zh-CN.md: ########## @@ -61,36 +61,31 @@ Apache EventMesh提供了许多功能来帮助用户实现他们的目标,以 - [EventMesh-catalog](https://github.com/apache/eventmesh-catalog): 使用 AsyncAPI 进行事件模式管理的目录服务。 - [EventMesh-go](https://github.com/apache/eventmesh-go): EventMesh 运行时的 Go 语言实现。 -## 快速入门 +## 快速入门 -本节指南将指导您分别从[本地](#在本地运行-eventmesh-runtime)、[docker](#在-docker-中运行-eventmesh-runtime-)、[k8s](#在-kubernetes-中运行-eventmesh-runtime-)部署EventMesh的步骤: +本节指南将指导您分别从[本地](#在本地运行-eventmesh-runtime)、[Docker](#在-docker-中运行-eventmesh-runtime)、[K8s](#在-kubernetes-中运行-eventmesh-runtime)部署EventMesh的步骤: -本节指南只是帮助您快速入门EventMesh部署,按照默认配置启动EventMesh,如果您需要更加详细的EventMesh部署步骤,请访问[EventMesh官方文档](https://eventmesh.apache.org/docs/next/introduction)。 +本节指南只是帮助您快速入门 EventMesh 部署,按照默认配置启动 EventMesh,如果您需要更加详细的 EventMesh 部署步骤,请访问[EventMesh官方文档](https://eventmesh.apache.org/docs/next/introduction)。 -### 部署 EventMesh Store +### 部署 Event Store -> EventMesh现在支持`standalone`、`RocketMQ`、`Kafka`等中间件作为存储 +> EventMesh 现在支持多个[事件存储](https://eventmesh.apache.org/docs/roadmap#event-store-implementation-status),默认存储模式为 `standalone` > 如果是在非`standalone`模式下,需要先部署所需的`store`,以`rocketmq`模式为例: > 部署[RocketMQ](https://rocketmq.apache.org/docs/quickStart/01quickstart/) ### 在本地运行 EventMesh Runtime -请在开始之前检查JKD版本,需要下载Java 8. -``` -$ java -version -java version "1.8.0_311" -``` - #### 1.下载 -在[EventMesh download](https://eventmesh.apache.org/download/)页面选择所需要版本的Binary Distribution进行下载,您将获得`apache-eventmesh-1.10.0-bin.tar.gz`。 +从 [EventMesh Download](https://eventmesh.apache.org/download/) 页面下载最新版本的 Binary Distribution 发行版并解压: ``` +wget https://dlcdn.apache.org/eventmesh/1.10.0/apache-eventmesh-1.10.0-bin.tar.gz tar -xvzf apache-eventmesh-1.10.0-bin.tar.gz cd apache-eventmesh-1.10.0 ``` -#### 2. 运行 +#### 2. 运行 -编辑`eventmesh.properties`以更改EventMesh Runtime的配置(如 TCP 端口、客户端黑名单)。 +编辑`eventmesh.properties`以更改 EventMesh Runtime 的配置(如 TCP 端口、客户端黑名单)。 Review Comment: `编辑eventmesh.properties以更改 EventMesh Runtime 的配置` and `指定事件存储为 RocketMQ` can be removed. ########## README.zh-CN.md: ########## @@ -101,30 +96,32 @@ vim conf/eventmesh.properties eventMesh.storage.plugin.type=rocketmq ``` -执行`start.sh`脚本启动EventMesh Runtime服务器。 +执行 `start.sh` 脚本启动 EventMesh Runtime 服务器。 ``` bash bin/start.sh ``` -如果看到`EventMeshTCPServer[port=10000] started....`, 则说明设置成功。 查看输出日志: ``` -cd /root/apache-eventmesh-1.10.0/logs -tail -f eventmesh.out +tail -n 50 -f logs/eventmesh.out ``` +当日志输出 `server state:RUNNING`,则代表 EventMesh Runtime 启动成功了。 + 停止: ``` bash bin/stop.sh ``` -### 在 Docker 中运行 EventMesh Runtime +脚本打印 `shutdown server ok!` 时,代表 EventMesh Runtime 已停止。 -#### 1.获取EventMesh镜像 +### 在 Docker 中运行 EventMesh Runtime -首先,你可以打开一个命令行,并且使用下面的`pull`命令从[Docker Hub](https://hub.docker.com)中下载最新发布的[EventMesh](https://hub.docker.com/r/apache/eventmesh)。 +#### 1.获取 EventMesh 镜像 + +首先,你可以打开一个命令行,并且使用下面的 `pull` 命令从 [Docker Hub](https://hub.docker.com) 中下载最新发布的 [EventMesh](https://hub.docker.com/r/apache/eventmesh)。 ``` Review Comment: This narrative could be deleted. Please add a new line between paragraphs and code blocks when writting markdown. ########## README.zh-CN.md: ########## @@ -134,27 +131,31 @@ REPOSITORY TAG IMAGE ID CREATED SIZE apache/eventmesh latest f32f9e5e4694 2 days ago 917MB ``` -#### 2.创建配置文件: +#### 2.创建配置文件 Review Comment: `#### 2.创建配置文件` sector can be removed, because it is configuring RocketMQ. Please remember to add a whitespace between chapter number and heading: ```suggestion #### 2. 创建配置文件 ``` ########## README.zh-CN.md: ########## @@ -61,36 +61,31 @@ Apache EventMesh提供了许多功能来帮助用户实现他们的目标,以 - [EventMesh-catalog](https://github.com/apache/eventmesh-catalog): 使用 AsyncAPI 进行事件模式管理的目录服务。 - [EventMesh-go](https://github.com/apache/eventmesh-go): EventMesh 运行时的 Go 语言实现。 -## 快速入门 +## 快速入门 -本节指南将指导您分别从[本地](#在本地运行-eventmesh-runtime)、[docker](#在-docker-中运行-eventmesh-runtime-)、[k8s](#在-kubernetes-中运行-eventmesh-runtime-)部署EventMesh的步骤: +本节指南将指导您分别从[本地](#在本地运行-eventmesh-runtime)、[Docker](#在-docker-中运行-eventmesh-runtime)、[K8s](#在-kubernetes-中运行-eventmesh-runtime)部署EventMesh的步骤: -本节指南只是帮助您快速入门EventMesh部署,按照默认配置启动EventMesh,如果您需要更加详细的EventMesh部署步骤,请访问[EventMesh官方文档](https://eventmesh.apache.org/docs/next/introduction)。 +本节指南只是帮助您快速入门 EventMesh 部署,按照默认配置启动 EventMesh,如果您需要更加详细的 EventMesh 部署步骤,请访问[EventMesh官方文档](https://eventmesh.apache.org/docs/next/introduction)。 Review Comment: We can remove `只是帮助您快速入门 EventMesh 部署`. ########## README.zh-CN.md: ########## @@ -134,27 +131,31 @@ REPOSITORY TAG IMAGE ID CREATED SIZE apache/eventmesh latest f32f9e5e4694 2 days ago 917MB Review Comment: `您可以使用以下命令列出并查看本地已有的镜像。` can be removed. Not neccessary. ########## README.zh-CN.md: ########## @@ -61,36 +61,31 @@ Apache EventMesh提供了许多功能来帮助用户实现他们的目标,以 - [EventMesh-catalog](https://github.com/apache/eventmesh-catalog): 使用 AsyncAPI 进行事件模式管理的目录服务。 - [EventMesh-go](https://github.com/apache/eventmesh-go): EventMesh 运行时的 Go 语言实现。 -## 快速入门 +## 快速入门 -本节指南将指导您分别从[本地](#在本地运行-eventmesh-runtime)、[docker](#在-docker-中运行-eventmesh-runtime-)、[k8s](#在-kubernetes-中运行-eventmesh-runtime-)部署EventMesh的步骤: +本节指南将指导您分别从[本地](#在本地运行-eventmesh-runtime)、[Docker](#在-docker-中运行-eventmesh-runtime)、[K8s](#在-kubernetes-中运行-eventmesh-runtime)部署EventMesh的步骤: -本节指南只是帮助您快速入门EventMesh部署,按照默认配置启动EventMesh,如果您需要更加详细的EventMesh部署步骤,请访问[EventMesh官方文档](https://eventmesh.apache.org/docs/next/introduction)。 +本节指南只是帮助您快速入门 EventMesh 部署,按照默认配置启动 EventMesh,如果您需要更加详细的 EventMesh 部署步骤,请访问[EventMesh官方文档](https://eventmesh.apache.org/docs/next/introduction)。 -### 部署 EventMesh Store +### 部署 Event Store -> EventMesh现在支持`standalone`、`RocketMQ`、`Kafka`等中间件作为存储 +> EventMesh 现在支持多个[事件存储](https://eventmesh.apache.org/docs/roadmap#event-store-implementation-status),默认存储模式为 `standalone` > 如果是在非`standalone`模式下,需要先部署所需的`store`,以`rocketmq`模式为例: > 部署[RocketMQ](https://rocketmq.apache.org/docs/quickStart/01quickstart/) Review Comment: https://github.com/apache/eventmesh/pull/4709#discussion_r1447372653: >It will be better to use Event Store instead of `store` to clarify concept. https://github.com/apache/eventmesh/pull/4709#discussion_r1447379899: >I think we can use default configs to launch EventMesh in Quick Start. ```suggestion > EventMesh 支持[多种事件存储](https://eventmesh.apache.org/docs/roadmap#event-store-implementation-status),在默认存储模式 `standalone` 下,不依赖其它事件存储作为存储层。 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
