You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apisix.apache.org by vincixu <vi...@apache.org> on 2020/10/29 02:59:44 UTC

Re: [DISCUSS] How does APISIX support multiple service discovery centers?

Recently our members are developing this feature, and it will be pushed to
the community soon

Ming Wen <we...@apache.org> 于2020年8月31日周一 下午3:14写道:

> agreed, users may have multiple service discovery centers, especially when
> there are multiple systems.
> It's time to abstract the service discovery separately, then we no longer
> need to configure the service registry in config.yaml.
>
> Thanks,
> Ming Wen, Apache APISIX & Apache SkyWalking
> Twitter: _WenMing
>
>
> YuanSheng Wang <me...@apache.org> 于2020年8月31日周一 下午3:10写道:
>
> > hi:
> >
> > APISIX already supports Eureka as a service discovery center.
> > But it is globally enabled only, and it cannot be enabled for the
> specified
> > route or service.
> >
> > It is common for companies to activate multiple different registry
> centers.
> >
> > For example, multiple Eureka instances or Eureka + Nacos + etcd, etc.
> >
> > So we need a way to support multiple service discovery centers at the
> same
> > time. Different route
> > and service can specify one service discovery center from them. And allow
> > administrator users to
> > update dynamically.
> >
> > --
> >
> > *MembPhis*
> > My GitHub: https://github.com/membphis
> > Apache APISIX: https://github.com/apache/incubator-apisix
> >
>

Re: [DISCUSS] How does APISIX support multiple service discovery centers?

Posted by Ming Wen <we...@apache.org>.
Great, look forward to it

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


vincixu <vi...@apache.org> 于2020年10月29日周四 上午11:00写道:

> Recently our members are developing this feature, and it will be pushed to
> the community soon
>
> Ming Wen <we...@apache.org> 于2020年8月31日周一 下午3:14写道:
>
> > agreed, users may have multiple service discovery centers, especially
> when
> > there are multiple systems.
> > It's time to abstract the service discovery separately, then we no longer
> > need to configure the service registry in config.yaml.
> >
> > Thanks,
> > Ming Wen, Apache APISIX & Apache SkyWalking
> > Twitter: _WenMing
> >
> >
> > YuanSheng Wang <me...@apache.org> 于2020年8月31日周一 下午3:10写道:
> >
> > > hi:
> > >
> > > APISIX already supports Eureka as a service discovery center.
> > > But it is globally enabled only, and it cannot be enabled for the
> > specified
> > > route or service.
> > >
> > > It is common for companies to activate multiple different registry
> > centers.
> > >
> > > For example, multiple Eureka instances or Eureka + Nacos + etcd, etc.
> > >
> > > So we need a way to support multiple service discovery centers at the
> > same
> > > time. Different route
> > > and service can specify one service discovery center from them. And
> allow
> > > administrator users to
> > > update dynamically.
> > >
> > > --
> > >
> > > *MembPhis*
> > > My GitHub: https://github.com/membphis
> > > Apache APISIX: https://github.com/apache/incubator-apisix
> > >
> >
>

Re: [DISCUSS] How does APISIX support multiple service discovery centers?

Posted by Ming Wen <we...@apache.org>.
got it.

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


vincixu <vi...@apache.org> 于2020年10月29日周四 下午4:09写道:

> It is just an optimization, If we need a new  mechanism to implement
> discovery, we can discuss it here.
> I think this will take some times, so before we discuss a result, we can
> first improve the current way so that users can better use it
>
> Ming Wen <we...@apache.org> 于2020年10月29日周四 下午2:48写道:
>
> > I suggest that we discuss the plan first, it is best to make it pluggable
> >
> > Thanks,
> > Ming Wen, Apache APISIX & Apache SkyWalking
> > Twitter: _WenMing
> >
> >
> > vincixu <vi...@apache.org> 于2020年10月29日周四 下午2:47写道:
> >
> > > No, it just optimize the old mechanism
> > > https://github.com/apache/apisix/pull/2556
> > >
> > > Ming Wen <we...@apache.org> 于2020年10月29日周四 下午12:47写道:
> > >
> > > > Hi, Vinci
> > > >
> > > > What is the technical solution?  Is it implemented by plugins?
> > > >
> > > > vincixu <vi...@apache.org>于2020年10月29日 周四上午11:00写道:
> > > >
> > > > > Recently our members are developing this feature, and it will be
> > pushed
> > > > to
> > > >
> > > >
> > > > > the community soon
> > > > >
> > > > > Ming Wen <we...@apache.org> 于2020年8月31日周一 下午3:14写道:
> > > > >
> > > > > > agreed, users may have multiple service discovery centers,
> > especially
> > > > > when
> > > > > > there are multiple systems.
> > > > > > It's time to abstract the service discovery separately, then we
> no
> > > > longer
> > > > > > need to configure the service registry in config.yaml.
> > > > > >
> > > > > > Thanks,
> > > > > > Ming Wen, Apache APISIX & Apache SkyWalking
> > > > > > Twitter: _WenMing
> > > > > >
> > > > > >
> > > > > > YuanSheng Wang <me...@apache.org> 于2020年8月31日周一 下午3:10写道:
> > > > > >
> > > > > > > hi:
> > > > > > >
> > > > > > > APISIX already supports Eureka as a service discovery center.
> > > > > > > But it is globally enabled only, and it cannot be enabled for
> the
> > > > > > specified
> > > > > > > route or service.
> > > > > > >
> > > > > > > It is common for companies to activate multiple different
> > registry
> > > > > > centers.
> > > > > > >
> > > > > > > For example, multiple Eureka instances or Eureka + Nacos +
> etcd,
> > > etc.
> > > > > > >
> > > > > > > So we need a way to support multiple service discovery centers
> at
> > > the
> > > > > > same
> > > > > > > time. Different route
> > > > > > > and service can specify one service discovery center from them.
> > And
> > > > > allow
> > > > > > > administrator users to
> > > > > > > update dynamically.
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > *MembPhis*
> > > > > > > My GitHub: https://github.com/membphis
> > > > > > > Apache APISIX: https://github.com/apache/incubator-apisix
> > > > > > >
> > > > > >
> > > > >
> > > > --
> > > > Thanks,
> > > > Ming Wen, Apache APISIX & Apache SkyWalking
> > > > Twitter: _WenMing
> > > >
> > >
> >
>

Re: [DISCUSS] How does APISIX support multiple service discovery centers?

Posted by vincixu <vi...@apache.org>.
It is just an optimization, If we need a new  mechanism to implement
discovery, we can discuss it here.
I think this will take some times, so before we discuss a result, we can
first improve the current way so that users can better use it

Ming Wen <we...@apache.org> 于2020年10月29日周四 下午2:48写道:

> I suggest that we discuss the plan first, it is best to make it pluggable
>
> Thanks,
> Ming Wen, Apache APISIX & Apache SkyWalking
> Twitter: _WenMing
>
>
> vincixu <vi...@apache.org> 于2020年10月29日周四 下午2:47写道:
>
> > No, it just optimize the old mechanism
> > https://github.com/apache/apisix/pull/2556
> >
> > Ming Wen <we...@apache.org> 于2020年10月29日周四 下午12:47写道:
> >
> > > Hi, Vinci
> > >
> > > What is the technical solution?  Is it implemented by plugins?
> > >
> > > vincixu <vi...@apache.org>于2020年10月29日 周四上午11:00写道:
> > >
> > > > Recently our members are developing this feature, and it will be
> pushed
> > > to
> > >
> > >
> > > > the community soon
> > > >
> > > > Ming Wen <we...@apache.org> 于2020年8月31日周一 下午3:14写道:
> > > >
> > > > > agreed, users may have multiple service discovery centers,
> especially
> > > > when
> > > > > there are multiple systems.
> > > > > It's time to abstract the service discovery separately, then we no
> > > longer
> > > > > need to configure the service registry in config.yaml.
> > > > >
> > > > > Thanks,
> > > > > Ming Wen, Apache APISIX & Apache SkyWalking
> > > > > Twitter: _WenMing
> > > > >
> > > > >
> > > > > YuanSheng Wang <me...@apache.org> 于2020年8月31日周一 下午3:10写道:
> > > > >
> > > > > > hi:
> > > > > >
> > > > > > APISIX already supports Eureka as a service discovery center.
> > > > > > But it is globally enabled only, and it cannot be enabled for the
> > > > > specified
> > > > > > route or service.
> > > > > >
> > > > > > It is common for companies to activate multiple different
> registry
> > > > > centers.
> > > > > >
> > > > > > For example, multiple Eureka instances or Eureka + Nacos + etcd,
> > etc.
> > > > > >
> > > > > > So we need a way to support multiple service discovery centers at
> > the
> > > > > same
> > > > > > time. Different route
> > > > > > and service can specify one service discovery center from them.
> And
> > > > allow
> > > > > > administrator users to
> > > > > > update dynamically.
> > > > > >
> > > > > > --
> > > > > >
> > > > > > *MembPhis*
> > > > > > My GitHub: https://github.com/membphis
> > > > > > Apache APISIX: https://github.com/apache/incubator-apisix
> > > > > >
> > > > >
> > > >
> > > --
> > > Thanks,
> > > Ming Wen, Apache APISIX & Apache SkyWalking
> > > Twitter: _WenMing
> > >
> >
>

Re: [DISCUSS] How does APISIX support multiple service discovery centers?

Posted by Ming Wen <we...@apache.org>.
I suggest that we discuss the plan first, it is best to make it pluggable

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


vincixu <vi...@apache.org> 于2020年10月29日周四 下午2:47写道:

> No, it just optimize the old mechanism
> https://github.com/apache/apisix/pull/2556
>
> Ming Wen <we...@apache.org> 于2020年10月29日周四 下午12:47写道:
>
> > Hi, Vinci
> >
> > What is the technical solution?  Is it implemented by plugins?
> >
> > vincixu <vi...@apache.org>于2020年10月29日 周四上午11:00写道:
> >
> > > Recently our members are developing this feature, and it will be pushed
> > to
> >
> >
> > > the community soon
> > >
> > > Ming Wen <we...@apache.org> 于2020年8月31日周一 下午3:14写道:
> > >
> > > > agreed, users may have multiple service discovery centers, especially
> > > when
> > > > there are multiple systems.
> > > > It's time to abstract the service discovery separately, then we no
> > longer
> > > > need to configure the service registry in config.yaml.
> > > >
> > > > Thanks,
> > > > Ming Wen, Apache APISIX & Apache SkyWalking
> > > > Twitter: _WenMing
> > > >
> > > >
> > > > YuanSheng Wang <me...@apache.org> 于2020年8月31日周一 下午3:10写道:
> > > >
> > > > > hi:
> > > > >
> > > > > APISIX already supports Eureka as a service discovery center.
> > > > > But it is globally enabled only, and it cannot be enabled for the
> > > > specified
> > > > > route or service.
> > > > >
> > > > > It is common for companies to activate multiple different registry
> > > > centers.
> > > > >
> > > > > For example, multiple Eureka instances or Eureka + Nacos + etcd,
> etc.
> > > > >
> > > > > So we need a way to support multiple service discovery centers at
> the
> > > > same
> > > > > time. Different route
> > > > > and service can specify one service discovery center from them. And
> > > allow
> > > > > administrator users to
> > > > > update dynamically.
> > > > >
> > > > > --
> > > > >
> > > > > *MembPhis*
> > > > > My GitHub: https://github.com/membphis
> > > > > Apache APISIX: https://github.com/apache/incubator-apisix
> > > > >
> > > >
> > >
> > --
> > Thanks,
> > Ming Wen, Apache APISIX & Apache SkyWalking
> > Twitter: _WenMing
> >
>

Re: [DISCUSS] How does APISIX support multiple service discovery centers?

Posted by vincixu <vi...@apache.org>.
No, it just optimize the old mechanism
https://github.com/apache/apisix/pull/2556

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

> Hi, Vinci
>
> What is the technical solution?  Is it implemented by plugins?
>
> vincixu <vi...@apache.org>于2020年10月29日 周四上午11:00写道:
>
> > Recently our members are developing this feature, and it will be pushed
> to
>
>
> > the community soon
> >
> > Ming Wen <we...@apache.org> 于2020年8月31日周一 下午3:14写道:
> >
> > > agreed, users may have multiple service discovery centers, especially
> > when
> > > there are multiple systems.
> > > It's time to abstract the service discovery separately, then we no
> longer
> > > need to configure the service registry in config.yaml.
> > >
> > > Thanks,
> > > Ming Wen, Apache APISIX & Apache SkyWalking
> > > Twitter: _WenMing
> > >
> > >
> > > YuanSheng Wang <me...@apache.org> 于2020年8月31日周一 下午3:10写道:
> > >
> > > > hi:
> > > >
> > > > APISIX already supports Eureka as a service discovery center.
> > > > But it is globally enabled only, and it cannot be enabled for the
> > > specified
> > > > route or service.
> > > >
> > > > It is common for companies to activate multiple different registry
> > > centers.
> > > >
> > > > For example, multiple Eureka instances or Eureka + Nacos + etcd, etc.
> > > >
> > > > So we need a way to support multiple service discovery centers at the
> > > same
> > > > time. Different route
> > > > and service can specify one service discovery center from them. And
> > allow
> > > > administrator users to
> > > > update dynamically.
> > > >
> > > > --
> > > >
> > > > *MembPhis*
> > > > My GitHub: https://github.com/membphis
> > > > Apache APISIX: https://github.com/apache/incubator-apisix
> > > >
> > >
> >
> --
> Thanks,
> Ming Wen, Apache APISIX & Apache SkyWalking
> Twitter: _WenMing
>

Re: [DISCUSS] How does APISIX support multiple service discovery centers?

Posted by Ming Wen <we...@apache.org>.
Hi, Vinci

What is the technical solution?  Is it implemented by plugins?

vincixu <vi...@apache.org>于2020年10月29日 周四上午11:00写道:

> Recently our members are developing this feature, and it will be pushed to


> the community soon
>
> Ming Wen <we...@apache.org> 于2020年8月31日周一 下午3:14写道:
>
> > agreed, users may have multiple service discovery centers, especially
> when
> > there are multiple systems.
> > It's time to abstract the service discovery separately, then we no longer
> > need to configure the service registry in config.yaml.
> >
> > Thanks,
> > Ming Wen, Apache APISIX & Apache SkyWalking
> > Twitter: _WenMing
> >
> >
> > YuanSheng Wang <me...@apache.org> 于2020年8月31日周一 下午3:10写道:
> >
> > > hi:
> > >
> > > APISIX already supports Eureka as a service discovery center.
> > > But it is globally enabled only, and it cannot be enabled for the
> > specified
> > > route or service.
> > >
> > > It is common for companies to activate multiple different registry
> > centers.
> > >
> > > For example, multiple Eureka instances or Eureka + Nacos + etcd, etc.
> > >
> > > So we need a way to support multiple service discovery centers at the
> > same
> > > time. Different route
> > > and service can specify one service discovery center from them. And
> allow
> > > administrator users to
> > > update dynamically.
> > >
> > > --
> > >
> > > *MembPhis*
> > > My GitHub: https://github.com/membphis
> > > Apache APISIX: https://github.com/apache/incubator-apisix
> > >
> >
>
-- 
Thanks,
Ming Wen, Apache APISIX & Apache SkyWalking
Twitter: _WenMing