[DISCUSS] how about the design of APISIX eureka integration?

2020-03-25 Thread ~Jarvis.Qiu
Hi: here is a doc :https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md for the design of APISIX eureka integration.  I hope you can give me some advice. the PR: https://github.com/apache/incubator-apisix/pull/1281

?????? [DISCUSS] how about the design of APISIX eureka integration?

2020-03-25 Thread ~Jarvis.Qiu
the doc url is :  https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md --  -- ??: "Ming Wen"https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discover

?????? [DISCUSS] how about the design of APISIX eureka integration?

2020-03-25 Thread ~Jarvis.Qiu
just  Chinese version now. I need to spend some time translating it?? --  -- ??: "Ming Wen"https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md > > > > > --  -

?????? [DISCUSS] how about the design of APISIX eureka integration?

2020-03-26 Thread ~Jarvis.Qiu
Eureka REST API: https://github.com/Netflix/eureka/wiki/Eureka-REST-operations we just need `GET /eureka/v2/apps`, and its output: { "applications": { "versions__delta": "1", "apps__hashcode": "UP_1_", "application": [ { "name": "APISIX-

?????? [DISCUSS] how about the design of APISIX eureka integration?

2020-03-26 Thread ~Jarvis.Qiu
Eureka REST API: https://github.com/Netflix/eureka/wiki/Eureka-REST-operations we just need `GET /eureka/v2/apps`, and its output: {     "applications": {         "versions__delta": "1",         "apps__hashcode": "UP_1_",         "application": [             {                 "name": "APISIX-

Re: [DISCUSS] how about the design of APISIX eureka integration?

2020-03-26 Thread ~Jarvis.Qiu
} ] } ] } } tansform to the nodes of upstream: { "192.168.1.100:8761" = 1, } others data (type, retries, timeout Etc.) of upstream are from configuration. > From: "suo zhang"; > Date: Thu, Mar 26, 2020 12:54 PM > T

Re: [DISCUSS] how about the design of APISIX eureka integration?

2020-03-26 Thread ~Jarvis.Qiu
eureka can register to self. ---Original--- From: "suo zhang"https://github.com/Netflix/eureka/wiki/Eureka-REST-operations > > we just need `GET /eureka/apps`, and its output: > > { > "applications": { > "versions__delta": "1", > "apps__hashcode": "UP_1_", > "applic

Re: [DISCUSS] how about the design of APISIX eureka integration?

2020-03-27 Thread ~Jarvis.Qiu
the doc updated: https://github.com/apache/incubator-apisix/pull/1281/commits/ecec0e767086410796325b22ed5c5bdbe3b6f86c#diff-1a9273257fe88b08ad10cb0aa15006d5 ---Original--- From: "suo zhang"https://github.com/Netflix/eureka/wiki/Eureka-REST-operations > > we just need `GET /eureka/apps`, and i

[DISCUSS] how about the design of APISIX eureka integration?

2020-03-27 Thread ~Jarvis.Qiu
ver and register on the eureka? > maybe we should use register API to initial the service on eureka. > ~Jarvis.Qiu ??2020??3??26?? 4:31?? > Eureka REST API: > > https://github.com/Netflix/eureka/wiki/Eureka-REST-operations > > we just need `GET /eureka/apps`, an

[DISCUSS] how about the design of APISIX eureka integration?

2020-03-29 Thread ~Jarvis.Qiu
example is as follows: ```json { "192.168.1.100:8761":100 } ``` The configuration of this format, which is very easy and clear for static configuration, has obvious disadvantages, such as poor extendibility for complex scenarios, such as when you want to customize the r

[DISCUSS] using kafka asynchronous producer is better than timer.at for kafka-logger plugin?

2020-03-31 Thread ~Jarvis.Qiu
the code in: https://github.com/apache/incubator-apisix/blob/master/lua/apisix/plugins/kafka-logger.lua#L101 The limit of lua_max_pending_timers and lua_max_running_timers that may be reached.

[DISCUSS] Should Apache APISIX add a global name?

2020-03-31 Thread ~Jarvis.Qiu
It was necessary to add a global name for APISIX.  the logging platform and zipkin, skywalking etc., need this name.

Re: [DISCUSS] Should Apache APISIX add a global name?

2020-03-31 Thread ~Jarvis.Qiu
ok, when we need to change the name? Thanks, Ming Wen, Apache APISIX & Apache SkyWalking Twitter: _WenMing ~Jarvis.Qiu ??2020??3??31?? 10:07?? > It was necessary to add a global name for APISIX.  > > > the logging platform and zipkin, skywalking etc., need this name.

Re: [DISCUSS] Should Apache APISIX add a global name?

2020-03-31 Thread ~Jarvis.Qiu
refer to the entire cluster or a single Gateway node? On Tue, Mar 31, 2020 at 10:07 PM ~Jarvis.Qiu 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.c

Re: [DISCUSS] Should Apache APISIX add a global name?

2020-03-31 Thread ~Jarvis.Qiu
Can be used as the default name for all plugin which need `serivce_name` like zikpin, SkyWalking etc. and it is useful for logger platform. -- Original -- From: "Ming Wen"

Re: [DISCUSS] Should Apache APISIX add a global name?

2020-03-31 Thread ~Jarvis.Qiu
Apache APISIX add a global name? On Tue, Mar 31, 2020 at 10:16 PM ~Jarvis.Qiu 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: "Yu

Re: [DISCUSS] how about the design of APISIX eureka integration?

2020-04-04 Thread ~Jarvis.Qiu
weight" : 100, > "metadata" : { > "management.port": "8761", > "weight": 100 > } the port and weight are repeated twice. Is metadata unnecessary? > Then implement the 'init_worker' function for initialization

Re: [DISCUSS] how about the design of APISIX eureka integration?

2020-04-10 Thread ~Jarvis.Qiu
2. According to the specified service name, one by one > This feels like a custom development, how does it become generic? > Thanks, > Ming Wen, Apache APISIX & Apache SkyWalking > Twitter: _WenMing > ~Jarvis.Qiu ??2020??4??4?? 8:04?? > Hi, Ming Wen, >

Re: [DISCUSS] Should Apache APISIX add a global name?

2020-04-28 Thread ~Jarvis.Qiu
asier to understand. https://github.com/apache/incubator-apisix/pull/1524/files -- Original -- From: "~Jarvis.Qiu "; Date: Wed, Apr 1, 2020 12:49 PM To: "dev"; Subject: Re: [DISCUSS] Should Apache APISIX add a global name? the `spring.applica

Re: [DISCUSS] Should Apache APISIX add a global name?

2020-04-28 Thread ~Jarvis.Qiu
me? back to the start, why we need to change the name?What will happen if hard code "APISIX"? ~Jarvis.Qiu ?? 2020??4??28?? 11:45?? > Hello, everyone. > > > This global name is used for the following purposes: > > > 1. Default value as etcd prefix; > &

Re: [DISCUSS] Should Apache APISIX add a global name?

2020-04-29 Thread ~Jarvis.Qiu
unique name , which is located in $prefix/conf/apisix.uid file. You can give the uuid or unique name to the file. ~Jarvis.Qiu ??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 "

Re: [PPMC][COMMITTER] Invite to join the PMC team after graduation of Apache APISIX

2020-06-07 Thread ~Jarvis.Qiu
+1 -- Original -- From: "Linsir Wu"; Date: Mon, Jun 8, 2020 11:38 AM To: "dev"; Subject: Re: [PPMC][COMMITTER] Invite to join the PMC team after graduation of Apache APISIX yes Sheng Wu ??2020??6??8?? 10:57?? > > Hi > > I would like to join the PMC t

Re:[ANNOUNCE] New committer: qiujiayu

2020-06-07 Thread ~Jarvis.Qiu
Thanks all ! -- Original -- From: "YuanSheng Wang"; Date: Mon, Jun 8, 2020 10:27 AM To: "dev@apisix.apache.org"; Subject: [ANNOUNCE] New committer: qiujiayu hello, community, The Project Management Committee(PMC) of Apache APISIX has vote passed and invited qiuji

Re: [VOTE] Graduate Apache APISIX (incubating) as a top level project

2020-06-09 Thread ~Jarvis.Qiu
+1 ---Original--- From: "caoyong"https://lists.apache.org/thread.html/r3cd791660b7a8aeb06a116a3802c8e154cde392dc90797d66a9267e9%40%3Cdev.apisix.apache.org%3E >>> [2] Jarvis.Qiu and jinwei are new committers of Apache APISIX, >>> so both of them don