You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apisix.apache.org by "~Jarvis.Qiu " <qi...@foxmail.com> on 2020/03/26 03:52:39 UTC

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

the doc url is :&nbsp;


https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md




------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"Ming Wen"<wenming@apache.org&gt;;
发送时间:&nbsp;2020年3月26日(星期四) 中午11:49
收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;

主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?



bad link, return 404.

Thanks,
Ming Wen, Apache APISIX &amp; Apache SkyWalking
Twitter: _WenMing


~Jarvis.Qiu <qiu_jy@foxmail.com&gt; 于2020年3月26日周四 上午11:48写道:

&gt; Hi:
&gt;
&gt;
&gt; here is a doc :
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;nbsp;for&amp;nbsp;the
&gt; design of APISIX eureka integration.&amp;nbsp;
&gt;
&gt;
&gt; I hope you can give me some advice.
&gt;
&gt;
&gt; the PR:&amp;nbsp;https://github.com/apache/incubator-apisix/pull/1281

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

Posted by "~Jarvis.Qiu " <qi...@foxmail.com>.
Eureka REST API:


https://github.com/Netflix/eureka/wiki/Eureka-REST-operations


we just need `GET /eureka/v2/apps`, and its output:


{
&nbsp;&nbsp;&nbsp;&nbsp;"applications":&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"versions__delta":&nbsp;"1",
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"apps__hashcode":&nbsp;"UP_1_",
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"application":&nbsp;[
&nbsp;&nbsp;&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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;}
}




tansform to the nodes of upstream:


{
&nbsp; "192.168.1.100:8761" = 1,
}


others data (type, retries, timeout Etc.) of upstream are from configuration.


------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"suo zhang"<coolsoul0551@gmail.com&gt;;
发送时间:&nbsp;2020年3月26日(星期四) 中午12:54
收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;

主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?



hello. maybe you should give a example and descripte how fetch the data
from eureka and tansform to the data in the upstream.
&nbsp;maybe you should show the APIs of eureka and&nbsp; their‘s output.


Ming Wen <wenming@apache.org&gt; 于2020年3月26日周四 下午12:10写道:

&gt; that will be great, and you can also post the design here instead of PR
&gt;
&gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&gt;于2020年3月26日 周四上午11:57写道:
&gt;
&gt; &gt; just&amp;nbsp; Chinese version now.
&gt; &gt;
&gt; &gt;
&gt; &gt; I need to spend some time translating it。
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; &gt; 发件人:&amp;nbsp;"Ming Wen"<wenming@apache.org&amp;gt;;
&gt; &gt; 发送时间:&amp;nbsp;2020年3月26日(星期四) 中午11:54
&gt; &gt; 收件人:&amp;nbsp;"dev"<dev@apisix.apache.org&amp;gt;;
&gt; &gt;
&gt; &gt; 主题:&amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Do you have the English version?
&gt; &gt;
&gt; &gt; Thanks,
&gt; &gt; Ming Wen, Apache APISIX &amp;amp; Apache SkyWalking
&gt; &gt; Twitter: _WenMing
&gt; &gt;
&gt; &gt;
&gt; &gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;gt; 于2020年3月26日周四 上午11:53写道:
&gt; &gt;
&gt; &gt; &amp;gt; the doc url is :&amp;amp;nbsp;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt;
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
&gt; &gt; &amp;gt
&gt; &gt; <
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;gt
&gt; &gt;
&gt; &gt; ;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; ------------------&amp;amp;nbsp;原始邮件&amp;amp;nbsp;------------------
&gt; &gt; &amp;gt; 发件人:&amp;amp;nbsp;"Ming Wen"<wenming@apache.org&amp;amp;gt;;
&gt; &gt; &amp;gt; 发送时间:&amp;amp;nbsp;2020年3月26日(星期四) 中午11:49
&gt; &gt; &amp;gt; 收件人:&amp;amp;nbsp;"dev"<dev@apisix.apache.org&amp;amp;gt;;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; 主题:&amp;amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka
&gt; &gt; integration?
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; bad link, return 404.
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; Thanks,
&gt; &gt; &amp;gt; Ming Wen, Apache APISIX &amp;amp;amp; Apache SkyWalking
&gt; &gt; &amp;gt; Twitter: _WenMing
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;amp;gt; 于2020年3月26日周四 上午11:48写道:
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt; Hi:
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt; here is a doc :
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt;
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;amp;nbsp;for&amp;amp;amp;nbsp;the
&gt; &gt; &amp;gt
&gt; &gt; <
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;amp;nbsp;for&amp;amp;amp;nbsp;the&amp;gt
&gt; &gt;;
&gt; &gt; &amp;amp;gt
&gt; &gt; &amp;gt; <
&gt; &gt;
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;amp;nbsp;for&amp;amp;amp;nbsp;the&amp;amp;gt&amp;gt
&gt; &gt; ;;
&gt; &gt; &amp;gt; design of APISIX eureka integration.&amp;amp;amp;nbsp;
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt; I hope you can give me some advice.
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt; the PR:&amp;amp;amp;nbsp;
&gt; &gt; https://github.com/apache/incubator-apisix/pull/1281
&gt;
&gt; --
&gt; Thanks,
&gt; Ming Wen, Apache APISIX &amp; Apache SkyWalking
&gt; Twitter: _WenMing
&gt;

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

Posted by YuanSheng Wang <me...@apache.org>.
If the documentation you added is in English, it's even better.

^_^

On Fri, Mar 27, 2020 at 11:55 PM ~Jarvis.Qiu <qi...@foxmail.com> wrote:
>
> the doc updated:
>
> https://github.com/apache/incubator-apisix/pull/1281/commits/ecec0e767086410796325b22ed5c5bdbe3b6f86c#diff-1a9273257fe88b08ad10cb0aa15006d5
>
> add support weight and how the instance data of eureka to upstream nodes of APISIX
>
>
> > ---Original---
> > From: "suo zhang"<co...@gmail.com>
> > Date: 2020/3/26 17:18:17
> > To: "dev"<de...@apisix.apache.org>;
> > Subject: Re: [DISCUSS] how about the design of APISIX eureka integration?
>
> > can add this to the document.  maybe should simplify  it
> > and where is service named "APISIX-EUREKA"?   you  start extra application
> > server and register on the eureka?
>
> > maybe we should use register API  to initial the service on eureka.
>
>
> > ~Jarvis.Qiu <qi...@foxmail.com> 于2020年3月26日周四 下午4:31写道:
>
> > Eureka REST API:
> >
> > 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_",
> >         "application": [
> >             {
> >                 "name": "APISIX-EUREKA",
> >                 "instance": [
> >                     {
> >                         "instanceId": "192.168.1.100:8761",
> >                         "hostName": "192.168.1.100",
> >                         "app": "APISIX-EUREKA",
> >                         "ipAddr": "192.168.1.100",
> >                         "status": "UP",
> >                         "overriddenStatus": "UNKNOWN",
> >                         "port": {
> >                             "$": 8761,
> >                             "@enabled": "true"
> >                         },
> >                         "securePort": {
> >                             "$": 443,
> >                             "@enabled": "false"
> >                         },
> >                         "countryId": 1,
> >                         "dataCenterInfo": {
> >                             "@class":
> > "com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo",
> >                             "name": "MyOwn"
> >                         },
> >                         "leaseInfo": {
> >                             "renewalIntervalInSecs": 30,
> >                             "durationInSecs": 90,
> >                             "registrationTimestamp": 1585205921502,
> >                             "lastRenewalTimestamp": 1585206281274,
> >                             "evictionTimestamp": 0,
> >                             "serviceUpTimestamp": 1585205921502
> >                         },
> >                         "metadata": {
> >                             "management.port": "8761"
> >                         },
> >                         "homePageUrl": "http://192.168.1.100:8761/",
> >                         "statusPageUrl": "
> > http://192.168.1.100:8761/actuator/info",
> >                         "healthCheckUrl": "
> > http://192.168.1.100:8761/actuator/health",
> >                         "vipAddress": "apisix-eureka",
> >                         "secureVipAddress": "apisix-eureka",
> >                         "isCoordinatingDiscoveryServer": "true",
> >                         "lastUpdatedTimestamp": "1585205921502",
> >                         "lastDirtyTimestamp": "1585205921295",
> >                         "actionType": "ADDED"
> >                     }
> >                 ]
> >             }
> >         ]
> >     }
> > }
> >
> > 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"<co...@gmail.com>;
> > > Date: Thu, Mar 26, 2020 12:54 PM
> > > To: "dev"<de...@apisix.apache.org>;
> > > Subject: Re: [DISCUSS] how about the design of APISIX eureka integration?
> >
> > > > hello. maybe you should give a example and descripte how fetch the data
> > > > from eureka and tansform to the data in the upstream.
> > > > maybe you should show the APIs of eureka and  their‘s output.
> >
> >
> > > Ming Wen <we...@apache.org> 于2020年3月26日周四 下午12:10写道:
> >
> > > that will be great, and you can also post the design here instead of PR
> > >
> > > ~Jarvis.Qiu <qi...@foxmail.com>于2020年3月26日 周四上午11:57写道:
> > >
> > > > just Chinese version now.
> > > >
> > > >
> > > > I need to spend some time translating it。
> > > >
> > > > ------------------ 原始邮件 ------------------
> > > > 发件人: "Ming Wen"<wenming@apache.org;
> > > > 发送时间: 2020年3月26日(星期四) 中午11:54
> > > > 收件人: "dev"<dev@apisix.apache.org;
> > > >
> > > > 主题: Re: [DISCUSS] how about the design of APISIX eureka
> > integration?
> > > >
> > > >
> > > >
> > > > Do you have the English version?
> > > >
> > > > Thanks,
> > > > Ming Wen, Apache APISIX & Apache SkyWalking
> > > > Twitter: _WenMing
> > > >
> > > >
> > > > ~Jarvis.Qiu <qiu_jy@foxmail.com 于2020年3月26日周四 上午11:53写道:
> > > >
> > > >  the doc url is :
>
> > https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
> > > >
> > >
> > https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >  ------------------ 原始邮件 ------------------
> > > >  发件人: "Ming Wen"<wenming@apache.org;
> > > >  发送时间: 2020年3月26日(星期四) 中午11:49
> > > >  收件人: "dev"<dev@apisix.apache.org;
> > > >
> > > >  主题: Re: [DISCUSS] how about the design of APISIX eureka
> > > > integration?
> > > >
> > > >
> > > >
> > > >  bad link, return 404.
> > > >
> > > >  Thanks,
> > > >  Ming Wen, Apache APISIX &amp; Apache SkyWalking
> > > >  Twitter: _WenMing
> > > >
> > > >
> > > >  ~Jarvis.Qiu <qiu_jy@foxmail.com 于2020年3月26日周四 上午11:48写道:
> > > >
> > > >   Hi:
>
> > > > here is a doc :https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.mdfor the design of APISIX eureka integration.
>
> > > > I hope you can give me some advice.
>
> > > > the PR: https://github.com/apache/incubator-apisix/pull/1281



-- 
MembPhis
My github: https://github.com/membphis
Apache APISIX: https://github.com/apache/incubator-apisix

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

Posted by "~Jarvis.Qiu " <qi...@foxmail.com>.
the doc updated:

https://github.com/apache/incubator-apisix/pull/1281/commits/ecec0e767086410796325b22ed5c5bdbe3b6f86c#diff-1a9273257fe88b08ad10cb0aa15006d5

add support weight and how the instance data of eureka to upstream nodes of APISIX


> ---Original---
> From: "suo zhang"<co...@gmail.com>
> Date: 2020/3/26 17:18:17
> To: "dev"<de...@apisix.apache.org>;
> Subject: Re: [DISCUSS] how about the design of APISIX eureka integration?

> can add this to the document.  maybe should simplify  it
> and where is service named "APISIX-EUREKA"?   you  start extra application
> server and register on the eureka?

> maybe we should use register API  to initial the service on eureka.


> ~Jarvis.Qiu <qi...@foxmail.com> 于2020年3月26日周四 下午4:31写道:

> Eureka REST API:
>
> 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_",
>         "application": [
>             {
>                 "name": "APISIX-EUREKA",
>                 "instance": [
>                     {
>                         "instanceId": "192.168.1.100:8761",
>                         "hostName": "192.168.1.100",
>                         "app": "APISIX-EUREKA",
>                         "ipAddr": "192.168.1.100",
>                         "status": "UP",
>                         "overriddenStatus": "UNKNOWN",
>                         "port": {
>                             "$": 8761,
>                             "@enabled": "true"
>                         },
>                         "securePort": {
>                             "$": 443,
>                             "@enabled": "false"
>                         },
>                         "countryId": 1,
>                         "dataCenterInfo": {
>                             "@class":
> "com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo",
>                             "name": "MyOwn"
>                         },
>                         "leaseInfo": {
>                             "renewalIntervalInSecs": 30,
>                             "durationInSecs": 90,
>                             "registrationTimestamp": 1585205921502,
>                             "lastRenewalTimestamp": 1585206281274,
>                             "evictionTimestamp": 0,
>                             "serviceUpTimestamp": 1585205921502
>                         },
>                         "metadata": {
>                             "management.port": "8761"
>                         },
>                         "homePageUrl": "http://192.168.1.100:8761/",
>                         "statusPageUrl": "
> http://192.168.1.100:8761/actuator/info",
>                         "healthCheckUrl": "
> http://192.168.1.100:8761/actuator/health",
>                         "vipAddress": "apisix-eureka",
>                         "secureVipAddress": "apisix-eureka",
>                         "isCoordinatingDiscoveryServer": "true",
>                         "lastUpdatedTimestamp": "1585205921502",
>                         "lastDirtyTimestamp": "1585205921295",
>                         "actionType": "ADDED"
>                     }
>                 ]
>             }
>         ]
>     }
> }
>
> 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"<co...@gmail.com>;
> > Date: Thu, Mar 26, 2020 12:54 PM
> > To: "dev"<de...@apisix.apache.org>;
> > Subject: Re: [DISCUSS] how about the design of APISIX eureka integration?
>
> > > hello. maybe you should give a example and descripte how fetch the data
> > > from eureka and tansform to the data in the upstream.
> > > maybe you should show the APIs of eureka and  their‘s output.
>
>
> > Ming Wen <we...@apache.org> 于2020年3月26日周四 下午12:10写道:
>
> > that will be great, and you can also post the design here instead of PR
> >
> > ~Jarvis.Qiu <qi...@foxmail.com>于2020年3月26日 周四上午11:57写道:
> >
> > > just Chinese version now.
> > >
> > >
> > > I need to spend some time translating it。
> > >
> > > ------------------ 原始邮件 ------------------
> > > 发件人: "Ming Wen"<wenming@apache.org;
> > > 发送时间: 2020年3月26日(星期四) 中午11:54
> > > 收件人: "dev"<dev@apisix.apache.org;
> > >
> > > 主题: Re: [DISCUSS] how about the design of APISIX eureka
> integration?
> > >
> > >
> > >
> > > Do you have the English version?
> > >
> > > Thanks,
> > > Ming Wen, Apache APISIX & Apache SkyWalking
> > > Twitter: _WenMing
> > >
> > >
> > > ~Jarvis.Qiu <qiu_jy@foxmail.com 于2020年3月26日周四 上午11:53写道:
> > >
> > >  the doc url is : 

> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
> > > 
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
> > >
> > >
> > > 
> > > 
> > > 
> > >  ------------------ 原始邮件 ------------------
> > >  发件人: "Ming Wen"<wenming@apache.org;
> > >  发送时间: 2020年3月26日(星期四) 中午11:49
> > >  收件人: "dev"<dev@apisix.apache.org;
> > > 
> > >  主题: Re: [DISCUSS] how about the design of APISIX eureka
> > > integration?
> > > 
> > > 
> > > 
> > >  bad link, return 404.
> > > 
> > >  Thanks,
> > >  Ming Wen, Apache APISIX &amp; Apache SkyWalking
> > >  Twitter: _WenMing
> > > 
> > > 
> > >  ~Jarvis.Qiu <qiu_jy@foxmail.com 于2020年3月26日周四 上午11:48写道:
> > > 
> > >   Hi:

> > > here is a doc :https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.mdfor the design of APISIX eureka integration.

> > > I hope you can give me some advice.

> > > the PR: https://github.com/apache/incubator-apisix/pull/1281

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

Posted by suo zhang <co...@gmail.com>.
can add this to the document.  maybe should simplify  it
and where is service named "APISIX-EUREKA"?   you  start extra application
server and register on the eureka?

maybe we should use register API  to initial the service on eureka.


~Jarvis.Qiu <qi...@foxmail.com> 于2020年3月26日周四 下午4:31写道:

> Eureka REST API:
>
> 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_",
>         "application": [
>             {
>                 "name": "APISIX-EUREKA",
>                 "instance": [
>                     {
>                         "instanceId": "192.168.1.100:8761",
>                         "hostName": "192.168.1.100",
>                         "app": "APISIX-EUREKA",
>                         "ipAddr": "192.168.1.100",
>                         "status": "UP",
>                         "overriddenStatus": "UNKNOWN",
>                         "port": {
>                             "$": 8761,
>                             "@enabled": "true"
>                         },
>                         "securePort": {
>                             "$": 443,
>                             "@enabled": "false"
>                         },
>                         "countryId": 1,
>                         "dataCenterInfo": {
>                             "@class":
> "com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo",
>                             "name": "MyOwn"
>                         },
>                         "leaseInfo": {
>                             "renewalIntervalInSecs": 30,
>                             "durationInSecs": 90,
>                             "registrationTimestamp": 1585205921502,
>                             "lastRenewalTimestamp": 1585206281274,
>                             "evictionTimestamp": 0,
>                             "serviceUpTimestamp": 1585205921502
>                         },
>                         "metadata": {
>                             "management.port": "8761"
>                         },
>                         "homePageUrl": "http://192.168.1.100:8761/",
>                         "statusPageUrl": "
> http://192.168.1.100:8761/actuator/info",
>                         "healthCheckUrl": "
> http://192.168.1.100:8761/actuator/health",
>                         "vipAddress": "apisix-eureka",
>                         "secureVipAddress": "apisix-eureka",
>                         "isCoordinatingDiscoveryServer": "true",
>                         "lastUpdatedTimestamp": "1585205921502",
>                         "lastDirtyTimestamp": "1585205921295",
>                         "actionType": "ADDED"
>                     }
>                 ]
>             }
>         ]
>     }
> }
>
> 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"<co...@gmail.com>;
> > Date: Thu, Mar 26, 2020 12:54 PM
> > To: "dev"<de...@apisix.apache.org>;
> > Subject: Re: [DISCUSS] how about the design of APISIX eureka integration?
>
> > > hello. maybe you should give a example and descripte how fetch the data
> > > from eureka and tansform to the data in the upstream.
> > > maybe you should show the APIs of eureka and  their‘s output.
>
>
> > Ming Wen <we...@apache.org> 于2020年3月26日周四 下午12:10写道:
>
> > that will be great, and you can also post the design here instead of PR
> >
> > ~Jarvis.Qiu <qi...@foxmail.com>于2020年3月26日 周四上午11:57写道:
> >
> > > just&nbsp; Chinese version now.
> > >
> > >
> > > I need to spend some time translating it。
> > >
> > >
> > >
> > >
> > > ------------------&nbsp;原始邮件&nbsp;------------------
> > > 发件人:&nbsp;"Ming Wen"<wenming@apache.org&gt;;
> > > 发送时间:&nbsp;2020年3月26日(星期四) 中午11:54
> > > 收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;
> > >
> > > 主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka
> integration?
> > >
> > >
> > >
> > > Do you have the English version?
> > >
> > > Thanks,
> > > Ming Wen, Apache APISIX &amp; Apache SkyWalking
> > > Twitter: _WenMing
> > >
> > >
> > > ~Jarvis.Qiu <qiu_jy@foxmail.com&gt; 于2020年3月26日周四 上午11:53写道:
> > >
> > > &gt; the doc url is :&amp;nbsp;
> > > &gt;
> > > &gt;
> > > &gt;
> > > &gt;
> > >
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
> > > &gt
> > > <
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&gt
> > >
> > > ;
> > > &gt;
> > > &gt;
> > > &gt;
> > > &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> > > &gt; 发件人:&amp;nbsp;"Ming Wen"<wenming@apache.org&amp;gt;;
> > > &gt; 发送时间:&amp;nbsp;2020年3月26日(星期四) 中午11:49
> > > &gt; 收件人:&amp;nbsp;"dev"<dev@apisix.apache.org&amp;gt;;
> > > &gt;
> > > &gt; 主题:&amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka
> > > integration?
> > > &gt;
> > > &gt;
> > > &gt;
> > > &gt; bad link, return 404.
> > > &gt;
> > > &gt; Thanks,
> > > &gt; Ming Wen, Apache APISIX &amp;amp; Apache SkyWalking
> > > &gt; Twitter: _WenMing
> > > &gt;
> > > &gt;
> > > &gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;gt; 于2020年3月26日周四 上午11:48写道:
> > > &gt;
> > > &gt; &amp;gt; Hi:
> > > &gt; &amp;gt;
> > > &gt; &amp;gt;
> > > &gt; &amp;gt; here is a doc :
> > > &gt; &amp;gt;
> > > &gt;
> > >
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the
> > > &gt
> > > <
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&gt
> > >;
> > > &amp;gt
> > > &gt; <
> > >
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&amp;gt&gt
> > > ;;
> > > &gt; design of APISIX eureka integration.&amp;amp;nbsp;
> > > &gt; &amp;gt;
> > > &gt; &amp;gt;
> > > &gt; &amp;gt; I hope you can give me some advice.
> > > &gt; &amp;gt;
> > > &gt; &amp;gt;
> > > &gt; &amp;gt; the PR:&amp;amp;nbsp;
> > > https://github.com/apache/incubator-apisix/pull/1281
> >
> > --
> > Thanks,
> > Ming Wen, Apache APISIX & Apache SkyWalking
> > Twitter: _WenMing
> >

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

Posted by "~Jarvis.Qiu " <qi...@foxmail.com>.
Eureka REST API:

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_",
        "application": [
            {
                "name": "APISIX-EUREKA",
                "instance": [
                    {
                        "instanceId": "192.168.1.100:8761",
                        "hostName": "192.168.1.100",
                        "app": "APISIX-EUREKA",
                        "ipAddr": "192.168.1.100",
                        "status": "UP",
                        "overriddenStatus": "UNKNOWN",
                        "port": {
                            "$": 8761,
                            "@enabled": "true"
                        },
                        "securePort": {
                            "$": 443,
                            "@enabled": "false"
                        },
                        "countryId": 1,
                        "dataCenterInfo": {
                            "@class": "com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo",
                            "name": "MyOwn"
                        },
                        "leaseInfo": {
                            "renewalIntervalInSecs": 30,
                            "durationInSecs": 90,
                            "registrationTimestamp": 1585205921502,
                            "lastRenewalTimestamp": 1585206281274,
                            "evictionTimestamp": 0,
                            "serviceUpTimestamp": 1585205921502
                        },
                        "metadata": {
                            "management.port": "8761"
                        },
                        "homePageUrl": "http://192.168.1.100:8761/",
                        "statusPageUrl": "http://192.168.1.100:8761/actuator/info",
                        "healthCheckUrl": "http://192.168.1.100:8761/actuator/health",
                        "vipAddress": "apisix-eureka",
                        "secureVipAddress": "apisix-eureka",
                        "isCoordinatingDiscoveryServer": "true",
                        "lastUpdatedTimestamp": "1585205921502",
                        "lastDirtyTimestamp": "1585205921295",
                        "actionType": "ADDED"
                    }
                ]
            }
        ]
    }
}

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"<co...@gmail.com>;
> Date: Thu, Mar 26, 2020 12:54 PM
> To: "dev"<de...@apisix.apache.org>;
> Subject: Re: [DISCUSS] how about the design of APISIX eureka integration?

> > hello. maybe you should give a example and descripte how fetch the data
> > from eureka and tansform to the data in the upstream.
> > maybe you should show the APIs of eureka and  their‘s output.


> Ming Wen <we...@apache.org> 于2020年3月26日周四 下午12:10写道:

> that will be great, and you can also post the design here instead of PR
>
> ~Jarvis.Qiu <qi...@foxmail.com>于2020年3月26日 周四上午11:57写道:
>
> > just&nbsp; Chinese version now.
> >
> >
> > I need to spend some time translating it。
> >
> >
> >
> >
> > ------------------&nbsp;原始邮件&nbsp;------------------
> > 发件人:&nbsp;"Ming Wen"<wenming@apache.org&gt;;
> > 发送时间:&nbsp;2020年3月26日(星期四) 中午11:54
> > 收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;
> >
> > 主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?
> >
> >
> >
> > Do you have the English version?
> >
> > Thanks,
> > Ming Wen, Apache APISIX &amp; Apache SkyWalking
> > Twitter: _WenMing
> >
> >
> > ~Jarvis.Qiu <qiu_jy@foxmail.com&gt; 于2020年3月26日周四 上午11:53写道:
> >
> > &gt; the doc url is :&amp;nbsp;
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
> > &gt
> > <
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&gt
> >
> > ;
> > &gt;
> > &gt;
> > &gt;
> > &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> > &gt; 发件人:&amp;nbsp;"Ming Wen"<wenming@apache.org&amp;gt;;
> > &gt; 发送时间:&amp;nbsp;2020年3月26日(星期四) 中午11:49
> > &gt; 收件人:&amp;nbsp;"dev"<dev@apisix.apache.org&amp;gt;;
> > &gt;
> > &gt; 主题:&amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka
> > integration?
> > &gt;
> > &gt;
> > &gt;
> > &gt; bad link, return 404.
> > &gt;
> > &gt; Thanks,
> > &gt; Ming Wen, Apache APISIX &amp;amp; Apache SkyWalking
> > &gt; Twitter: _WenMing
> > &gt;
> > &gt;
> > &gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;gt; 于2020年3月26日周四 上午11:48写道:
> > &gt;
> > &gt; &amp;gt; Hi:
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; here is a doc :
> > &gt; &amp;gt;
> > &gt;
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the
> > &gt
> > <
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&gt
> >;
> > &amp;gt
> > &gt; <
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&amp;gt&gt
> > ;;
> > &gt; design of APISIX eureka integration.&amp;amp;nbsp;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; I hope you can give me some advice.
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; the PR:&amp;amp;nbsp;
> > https://github.com/apache/incubator-apisix/pull/1281
>
> --
> Thanks,
> Ming Wen, Apache APISIX & Apache SkyWalking
> Twitter: _WenMing
>

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

Posted by "~Jarvis.Qiu " <qi...@foxmail.com>.
Eureka REST API:


https://github.com/Netflix/eureka/wiki/Eureka-REST-operations


we just need `GET /eureka/v2/apps`, and its output:


{
&nbsp; &nbsp; "applications": {
&nbsp; &nbsp; &nbsp; &nbsp; "versions__delta": "1",
&nbsp; &nbsp; &nbsp; &nbsp; "apps__hashcode": "UP_1_",
&nbsp; &nbsp; &nbsp; &nbsp; "application": [
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "name": "APISIX-EUREKA",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "instance": [
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "instanceId": "192.168.1.100:8761",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "hostName": "192.168.1.100",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "app": "APISIX-EUREKA",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "ipAddr": "192.168.1.100",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "status": "UP",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "overriddenStatus": "UNKNOWN",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "port": {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "$": 8761,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "@enabled": "true"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "securePort": {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "$": 443,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "@enabled": "false"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "countryId": 1,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "dataCenterInfo": {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "@class": "com.netflix.appinfo.InstanceInfo$DefaultDataCenterInfo",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "name": "MyOwn"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "leaseInfo": {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "renewalIntervalInSecs": 30,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "durationInSecs": 90,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "registrationTimestamp": 1585205921502,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "lastRenewalTimestamp": 1585206281274,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "evictionTimestamp": 0,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "serviceUpTimestamp": 1585205921502
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "metadata": {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "management.port": "8761"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "homePageUrl": "http://192.168.1.100:8761/",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "statusPageUrl": "http://192.168.1.100:8761/actuator/info",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "healthCheckUrl": "http://192.168.1.100:8761/actuator/health",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "vipAddress": "apisix-eureka",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "secureVipAddress": "apisix-eureka",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "isCoordinatingDiscoveryServer": "true",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "lastUpdatedTimestamp": "1585205921502",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "lastDirtyTimestamp": "1585205921295",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "actionType": "ADDED"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; ]
&nbsp; &nbsp; }
}


tansform to the nodes of upstream:


{
&nbsp; "192.168.1.100:8761" = 1,
}


others data (type, retries, timeout Etc.) of upstream are from configuration.





------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"suo zhang"<coolsoul0551@gmail.com&gt;;
发送时间:&nbsp;2020年3月26日(星期四) 中午12:54
收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;

主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?



hello. maybe you should give a example and descripte how fetch the data
from eureka and tansform to the data in the upstream.
&nbsp;maybe you should show the APIs of eureka and&nbsp; their‘s output.


Ming Wen <wenming@apache.org&gt; 于2020年3月26日周四 下午12:10写道:

&gt; that will be great, and you can also post the design here instead of PR
&gt;
&gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&gt;于2020年3月26日 周四上午11:57写道:
&gt;
&gt; &gt; just&amp;nbsp; Chinese version now.
&gt; &gt;
&gt; &gt;
&gt; &gt; I need to spend some time translating it。
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; &gt; 发件人:&amp;nbsp;"Ming Wen"<wenming@apache.org&amp;gt;;
&gt; &gt; 发送时间:&amp;nbsp;2020年3月26日(星期四) 中午11:54
&gt; &gt; 收件人:&amp;nbsp;"dev"<dev@apisix.apache.org&amp;gt;;
&gt; &gt;
&gt; &gt; 主题:&amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Do you have the English version?
&gt; &gt;
&gt; &gt; Thanks,
&gt; &gt; Ming Wen, Apache APISIX &amp;amp; Apache SkyWalking
&gt; &gt; Twitter: _WenMing
&gt; &gt;
&gt; &gt;
&gt; &gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;gt; 于2020年3月26日周四 上午11:53写道:
&gt; &gt;
&gt; &gt; &amp;gt; the doc url is :&amp;amp;nbsp;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt;
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
&gt; &gt; &amp;gt
&gt; &gt; <
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;gt
&gt; &gt;
&gt; &gt; ;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; ------------------&amp;amp;nbsp;原始邮件&amp;amp;nbsp;------------------
&gt; &gt; &amp;gt; 发件人:&amp;amp;nbsp;"Ming Wen"<wenming@apache.org&amp;amp;gt;;
&gt; &gt; &amp;gt; 发送时间:&amp;amp;nbsp;2020年3月26日(星期四) 中午11:49
&gt; &gt; &amp;gt; 收件人:&amp;amp;nbsp;"dev"<dev@apisix.apache.org&amp;amp;gt;;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; 主题:&amp;amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka
&gt; &gt; integration?
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; bad link, return 404.
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; Thanks,
&gt; &gt; &amp;gt; Ming Wen, Apache APISIX &amp;amp;amp; Apache SkyWalking
&gt; &gt; &amp;gt; Twitter: _WenMing
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;amp;gt; 于2020年3月26日周四 上午11:48写道:
&gt; &gt; &amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt; Hi:
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt; here is a doc :
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt;
&gt; &gt;
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;amp;nbsp;for&amp;amp;amp;nbsp;the
&gt; &gt; &amp;gt
&gt; &gt; <
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;amp;nbsp;for&amp;amp;amp;nbsp;the&amp;gt
&gt; &gt;;
&gt; &gt; &amp;amp;gt
&gt; &gt; &amp;gt; <
&gt; &gt;
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;amp;nbsp;for&amp;amp;amp;nbsp;the&amp;amp;gt&amp;gt
&gt; &gt; ;;
&gt; &gt; &amp;gt; design of APISIX eureka integration.&amp;amp;amp;nbsp;
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt; I hope you can give me some advice.
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt;
&gt; &gt; &amp;gt; &amp;amp;gt; the PR:&amp;amp;amp;nbsp;
&gt; &gt; https://github.com/apache/incubator-apisix/pull/1281
&gt;
&gt; --
&gt; Thanks,
&gt; Ming Wen, Apache APISIX &amp; Apache SkyWalking
&gt; Twitter: _WenMing
&gt;

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

Posted by suo zhang <co...@gmail.com>.
hello. maybe you should give a example and descripte how fetch the data
from eureka and tansform to the data in the upstream.
 maybe you should show the APIs of eureka and  their‘s output.


Ming Wen <we...@apache.org> 于2020年3月26日周四 下午12:10写道:

> that will be great, and you can also post the design here instead of PR
>
> ~Jarvis.Qiu <qi...@foxmail.com>于2020年3月26日 周四上午11:57写道:
>
> > just&nbsp; Chinese version now.
> >
> >
> > I need to spend some time translating it。
> >
> >
> >
> >
> > ------------------&nbsp;原始邮件&nbsp;------------------
> > 发件人:&nbsp;"Ming Wen"<wenming@apache.org&gt;;
> > 发送时间:&nbsp;2020年3月26日(星期四) 中午11:54
> > 收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;
> >
> > 主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?
> >
> >
> >
> > Do you have the English version?
> >
> > Thanks,
> > Ming Wen, Apache APISIX &amp; Apache SkyWalking
> > Twitter: _WenMing
> >
> >
> > ~Jarvis.Qiu <qiu_jy@foxmail.com&gt; 于2020年3月26日周四 上午11:53写道:
> >
> > &gt; the doc url is :&amp;nbsp;
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
> > &gt
> > <
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&gt
> >
> > ;
> > &gt;
> > &gt;
> > &gt;
> > &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> > &gt; 发件人:&amp;nbsp;"Ming Wen"<wenming@apache.org&amp;gt;;
> > &gt; 发送时间:&amp;nbsp;2020年3月26日(星期四) 中午11:49
> > &gt; 收件人:&amp;nbsp;"dev"<dev@apisix.apache.org&amp;gt;;
> > &gt;
> > &gt; 主题:&amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka
> > integration?
> > &gt;
> > &gt;
> > &gt;
> > &gt; bad link, return 404.
> > &gt;
> > &gt; Thanks,
> > &gt; Ming Wen, Apache APISIX &amp;amp; Apache SkyWalking
> > &gt; Twitter: _WenMing
> > &gt;
> > &gt;
> > &gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;gt; 于2020年3月26日周四 上午11:48写道:
> > &gt;
> > &gt; &amp;gt; Hi:
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; here is a doc :
> > &gt; &amp;gt;
> > &gt;
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the
> > &gt
> > <
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&gt
> >;
> > &amp;gt
> > &gt; <
> >
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&amp;gt&gt
> > ;;
> > &gt; design of APISIX eureka integration.&amp;amp;nbsp;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; I hope you can give me some advice.
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; the PR:&amp;amp;nbsp;
> > https://github.com/apache/incubator-apisix/pull/1281
>
> --
> Thanks,
> Ming Wen, Apache APISIX & Apache SkyWalking
> Twitter: _WenMing
>

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

Posted by Ming Wen <we...@apache.org>.
that will be great, and you can also post the design here instead of PR

~Jarvis.Qiu <qi...@foxmail.com>于2020年3月26日 周四上午11:57写道:

> just&nbsp; Chinese version now.
>
>
> I need to spend some time translating it。
>
>
>
>
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:&nbsp;"Ming Wen"<wenming@apache.org&gt;;
> 发送时间:&nbsp;2020年3月26日(星期四) 中午11:54
> 收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;
>
> 主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?
>
>
>
> Do you have the English version?
>
> Thanks,
> Ming Wen, Apache APISIX &amp; Apache SkyWalking
> Twitter: _WenMing
>
>
> ~Jarvis.Qiu <qiu_jy@foxmail.com&gt; 于2020年3月26日周四 上午11:53写道:
>
> &gt; the doc url is :&amp;nbsp;
> &gt;
> &gt;
> &gt;
> &gt;
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
> &gt
> <https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&gt>
> ;
> &gt;
> &gt;
> &gt;
> &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> &gt; 发件人:&amp;nbsp;"Ming Wen"<wenming@apache.org&amp;gt;;
> &gt; 发送时间:&amp;nbsp;2020年3月26日(星期四) 中午11:49
> &gt; 收件人:&amp;nbsp;"dev"<dev@apisix.apache.org&amp;gt;;
> &gt;
> &gt; 主题:&amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka
> integration?
> &gt;
> &gt;
> &gt;
> &gt; bad link, return 404.
> &gt;
> &gt; Thanks,
> &gt; Ming Wen, Apache APISIX &amp;amp; Apache SkyWalking
> &gt; Twitter: _WenMing
> &gt;
> &gt;
> &gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;gt; 于2020年3月26日周四 上午11:48写道:
> &gt;
> &gt; &amp;gt; Hi:
> &gt; &amp;gt;
> &gt; &amp;gt;
> &gt; &amp;gt; here is a doc :
> &gt; &amp;gt;
> &gt;
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the
> &gt
> <https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&gt>;
> &amp;gt
> &gt; <
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&amp;gt&gt
> ;;
> &gt; design of APISIX eureka integration.&amp;amp;nbsp;
> &gt; &amp;gt;
> &gt; &amp;gt;
> &gt; &amp;gt; I hope you can give me some advice.
> &gt; &amp;gt;
> &gt; &amp;gt;
> &gt; &amp;gt; the PR:&amp;amp;nbsp;
> https://github.com/apache/incubator-apisix/pull/1281

-- 
Thanks,
Ming Wen, Apache APISIX & Apache SkyWalking
Twitter: _WenMing

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

Posted by "~Jarvis.Qiu " <qi...@foxmail.com>.
just&nbsp; Chinese version now.


I need to spend some time translating it。




------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"Ming Wen"<wenming@apache.org&gt;;
发送时间:&nbsp;2020年3月26日(星期四) 中午11:54
收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;

主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?



Do you have the English version?

Thanks,
Ming Wen, Apache APISIX &amp; Apache SkyWalking
Twitter: _WenMing


~Jarvis.Qiu <qiu_jy@foxmail.com&gt; 于2020年3月26日周四 上午11:53写道:

&gt; the doc url is :&amp;nbsp;
&gt;
&gt;
&gt;
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
&gt;
&gt;
&gt;
&gt;
&gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; 发件人:&amp;nbsp;"Ming Wen"<wenming@apache.org&amp;gt;;
&gt; 发送时间:&amp;nbsp;2020年3月26日(星期四) 中午11:49
&gt; 收件人:&amp;nbsp;"dev"<dev@apisix.apache.org&amp;gt;;
&gt;
&gt; 主题:&amp;nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?
&gt;
&gt;
&gt;
&gt; bad link, return 404.
&gt;
&gt; Thanks,
&gt; Ming Wen, Apache APISIX &amp;amp; Apache SkyWalking
&gt; Twitter: _WenMing
&gt;
&gt;
&gt; ~Jarvis.Qiu <qiu_jy@foxmail.com&amp;gt; 于2020年3月26日周四 上午11:48写道:
&gt;
&gt; &amp;gt; Hi:
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; here is a doc :
&gt; &amp;gt;
&gt; https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the
&gt; &amp;gt
&gt; <https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;amp;nbsp;for&amp;amp;nbsp;the&amp;gt&gt;;
&gt; design of APISIX eureka integration.&amp;amp;nbsp;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; I hope you can give me some advice.
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; the PR:&amp;amp;nbsp;https://github.com/apache/incubator-apisix/pull/1281

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

Posted by Ming Wen <we...@apache.org>.
Do you have the English version?

Thanks,
Ming Wen, Apache APISIX & Apache SkyWalking
Twitter: _WenMing


~Jarvis.Qiu <qi...@foxmail.com> 于2020年3月26日周四 上午11:53写道:

> the doc url is :&nbsp;
>
>
>
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md
>
>
>
>
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:&nbsp;"Ming Wen"<wenming@apache.org&gt;;
> 发送时间:&nbsp;2020年3月26日(星期四) 中午11:49
> 收件人:&nbsp;"dev"<dev@apisix.apache.org&gt;;
>
> 主题:&nbsp;Re: [DISCUSS] how about the design of APISIX eureka integration?
>
>
>
> bad link, return 404.
>
> Thanks,
> Ming Wen, Apache APISIX &amp; Apache SkyWalking
> Twitter: _WenMing
>
>
> ~Jarvis.Qiu <qiu_jy@foxmail.com&gt; 于2020年3月26日周四 上午11:48写道:
>
> &gt; Hi:
> &gt;
> &gt;
> &gt; here is a doc :
> &gt;
> https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;nbsp;for&amp;nbsp;the
> &gt
> <https://github.com/apache/incubator-apisix/blob/170f4650f1faeb454c1ff69ea97fe1287710ec77/doc/discovery-cn.md&amp;nbsp;for&amp;nbsp;the&gt>;
> design of APISIX eureka integration.&amp;nbsp;
> &gt;
> &gt;
> &gt; I hope you can give me some advice.
> &gt;
> &gt;
> &gt; the PR:&amp;nbsp;https://github.com/apache/incubator-apisix/pull/1281