From 6b2c396340275f4da3ddb79a46feb691d82f8550 Mon Sep 17 00:00:00 2001 From: Kaxiya <125204531+kaxiya1021@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:49:11 +0800 Subject: [PATCH] Corrected the directory error in the 4.x English version (#665) * Add a quickstart directory * Corrected the port comment error. --- i18n/en/docusaurus-plugin-content-docs/current.json | 6 +++++- versioned_docs/version-5.0/02-quickStart/01quickstart.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/i18n/en/docusaurus-plugin-content-docs/current.json b/i18n/en/docusaurus-plugin-content-docs/current.json index 704fc8656b..fc5f2810d7 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current.json +++ b/i18n/en/docusaurus-plugin-content-docs/current.json @@ -6,6 +6,10 @@ "sidebar.myAutogeneratedSidebar.category.基本概念": { "message": "Introduction", "description": "The label for category 基本概念 in sidebar myAutogeneratedSidebar" + }, + "sidebar.myAutogeneratedSidebar.category.快速开始": { + "message": "Quick Start", + "description": "The label for category 快速开始 in sidebar myAutogeneratedSidebar" }, "sidebar.myAutogeneratedSidebar.category.生产者": { "message": "Producer", @@ -47,4 +51,4 @@ "message": "Contribution Guide", "description": "The label for category 贡献指南 in sidebar myAutogeneratedSidebar" } -} \ No newline at end of file +} diff --git a/versioned_docs/version-5.0/02-quickStart/01quickstart.md b/versioned_docs/version-5.0/02-quickStart/01quickstart.md index d31143153a..c98ccbf18f 100644 --- a/versioned_docs/version-5.0/02-quickStart/01quickstart.md +++ b/versioned_docs/version-5.0/02-quickStart/01quickstart.md @@ -125,7 +125,7 @@ $ sh bin/tools.sh org.apache.rocketmq.example.quickstart.Consumer private static final Logger logger = LoggerFactory.getLogger(ProducerExample.class); public static void main(String[] args) throws ClientException { - // 接入点地址,需要设置成Proxy的地址和端口列表,一般是xxx:8081;xxx:8081。 + // 接入点地址,需要设置成Proxy的地址和端口列表,一般是xxx:8080;xxx:8081。 String endpoint = "localhost:8081"; // 消息发送的目标Topic名称,需要提前创建。 String topic = "TestTopic";