You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/29 16:09:20 UTC

[GitHub] [apisix] Firstsawyou commented on a change in pull request #2893: feat: allow user to specify APISIX id in config.yaml

Firstsawyou commented on a change in pull request #2893:
URL: https://github.com/apache/apisix/pull/2893#discussion_r532228436



##########
File path: FAQ_CN.md
##########
@@ -250,3 +250,14 @@ APISIX 主要使用 [etcd.watchdir](https://github.com/api7/lua-resty-etcd/blob/
 * 如果监听目录有数据更新:etcd 将立刻返回订阅(毫秒级)到的新数据,APISIX 将它更新到内存缓存。
 
 借助 etcd 增量通知毫秒级特性,APISIX 也就完成了毫秒级的配置同步。
+
+## 如何自定义 APISIX 实例 id
+
+默认情况下,APISIX 使用 `uuid` 作为实例 id,存储在`/conf/apisix.uid`中,在 APISIX 第一次启动时生成,不会改变。

Review comment:
       We need a space between Chinese and English, right? . 
   E.g:存储在`/conf/apisix.uid`中 --> 存储在 `/conf/apisix.uid` 中

##########
File path: FAQ_CN.md
##########
@@ -250,3 +250,14 @@ APISIX 主要使用 [etcd.watchdir](https://github.com/api7/lua-resty-etcd/blob/
 * 如果监听目录有数据更新:etcd 将立刻返回订阅(毫秒级)到的新数据,APISIX 将它更新到内存缓存。
 
 借助 etcd 增量通知毫秒级特性,APISIX 也就完成了毫秒级的配置同步。
+
+## 如何自定义 APISIX 实例 id
+
+默认情况下,APISIX 使用 `uuid` 作为实例 id,存储在`/conf/apisix.uid`中,在 APISIX 第一次启动时生成,不会改变。
+
+如果你想指定一个有意义的 id 来绑定 APISIX 实例与你的内部系统,你可以在`conf/config.yaml`中进行配置,示例:

Review comment:
       A space is required between Chinese and English, ditto.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org