This uuid is for one node, but the name is for a cluster.
------------------ Original ------------------ From: "Damon Chen"<[email protected]>; Date: Wed, Apr 29, 2020 11:45 PM To: "dev"<[email protected]>; Subject: Re: [DISCUSS] Should Apache APISIX add a global name? Hi The apisix have been designed for the unique name , which is located in $prefix/conf/apisix.uid file. You can give the uuid or unique name to the file. ~Jarvis.Qiu <[email protected]> ??2020??4??29?????? ????10:24?????? > Hello, Ming Wen > > > back to the start, why we need to change the name?What will happen if > hard > code "APISIX"? > > A company will deploy multiple gateways according to different lines of > business or roles. For better management, the data of different gateways > needs to be distinguished by name in the logging platform, APM system, and > monitoring system. > > > And the etcd prefix can also use this name, so you can't put it in the > etcd. Furthermore, many users may not use etcd; for example, K8s users may > prefer to write the configuration to a yaml file. > > ????etcd > ??????????????????????????????????????????????etcd??????????????????????????etcd??????K8s????????????????????????yaml???????? > > > ------------------ Original ------------------ > From: "Ming Wen"<[email protected]>; > Date: Wed, Apr 29, 2020 06:08 AM > To: "dev"<[email protected]>; > Subject: Re: [DISCUSS] Should Apache APISIX add a global name? > > back to the start, why we need to change the name?What will happen if hard > code "APISIX"? > > ~Jarvis.Qiu <[email protected]> ?? 2020??4??28?????? ????11:45?????? > > > Hello, everyone. > > > > > > This global name is used for the following purposes: > > > > > > 1. Default value as etcd prefix; > > > > 2. Output to the log; > > > > 3. Export to Prometheus; > > > > 4. Default value for service name parameters of such plug-ins as zipkin > > and skywalking. > > > > > > I've added more code to this PR to make it easier to understand. > > > > > > https://github.com/apache/incubator-apisix/pull/1524/files > > > > > > > > ------------------ Original ------------------ > > From: "~Jarvis.Qiu "<[email protected]>; > > Date: Wed, Apr 1, 2020 12:49 PM > > To: "dev"<[email protected]>; > > Subject: Re: [DISCUSS] Should Apache APISIX add a global name? > > > > the `spring.application.name` of spring boot application and ` > > metadata.name` of k8s Service all in local config. > > > > ------------------ Original ------------------ > > From: "YuanSheng Wang"<[email protected]>; > > Date: Wed, Apr 1, 2020 09:33 AM > > To: "[email protected]"<[email protected]>; > > Subject: Re: [DISCUSS] Should Apache APISIX add a global name? > > > > On Tue, Mar 31, 2020 at 10:16 PM ~Jarvis.Qiu <[email protected]> wrote: > > > > > the entire cluster > > > > > > > if it is a cluster name, we should store it in etcd. local config is not > a > > good way. > > > > > > > > > > > > > > > > > > > > > ------------------ Original ------------------ > > > From: "YuanSheng Wang"<[email protected]>; > > > Date: Tue, Mar 31, 2020 10:12 PM > > > To: "[email protected]"<[email protected]>; > > > Subject: Re: [DISCUSS] Should Apache APISIX add a global name? > > > > > > Apache APISIX is distributed software. > > > Does the name refer to the entire cluster or a single Gateway node? > > > > > > > > > On Tue, Mar 31, 2020 at 10:07 PM ~Jarvis.Qiu <[email protected]> > wrote: > > > > > > > It was necessary to add a global name for APISIX. > > > > > > > > > > > > the logging platform and zipkin, skywalking etc., need this name. > > > > > > > > > > > > -- > > > *MembPhis* > > > My github: https://github.com/membphis > > > Apache APISIX: https://github.com/apache/incubator-apisix > > > > > > > > -- > > *MembPhis* > > My github: https://github.com/membphis > > Apache APISIX: https://github.com/apache/incubator-apisix
