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
