Netflix的Eureka可以在AWS之外使用吗?

时间:2022-07-05 22:58:28

I'm looking for a good discovery service to use in a growing, privately-hosted microservice architecture.

我正在寻找一种优秀的发现服务,可用于不断发展的私有托管微服务架构。

Netflix's Eureka looks promising. It says it is "primarily used in the AWS cloud for locating services", but I can't figure out whether it can be used outside AWS or not. A cursory glance at the POMs revealed that there are AWS dependencies included in the project.

Netflix的Eureka看起来很有前景。它说它“主要用于AWS云中以定位服务”,但我无法弄清楚它是否可以在AWS之外使用。粗略地看一下POM,发现项目中包含AWS依赖项。

Can Eureka (or a useful subset of it) be used outside AWS as a discovery service?

Eureka(或其有用的子集)可以在AWS之外用作发现服务吗?

1 个解决方案

#1


5  

Yes, It can be used outside AWS. One just needs to change a few configuration options. Specifically, the dataCenterInfo option to let the server know that its in a non-AWS environment.

是的,它可以在AWS之外使用。一个人只需要更改一些配置选项。具体来说,dataCenterInfo选项让服务器知道它在非AWS环境中。

Have a look at https://github.com/Netflix/eureka/wiki/Configuring-Eureka to see how this can be done.

看看https://github.com/Netflix/eureka/wiki/Configuring-Eureka,看看如何做到这一点。

#1


5  

Yes, It can be used outside AWS. One just needs to change a few configuration options. Specifically, the dataCenterInfo option to let the server know that its in a non-AWS environment.

是的,它可以在AWS之外使用。一个人只需要更改一些配置选项。具体来说,dataCenterInfo选项让服务器知道它在非AWS环境中。

Have a look at https://github.com/Netflix/eureka/wiki/Configuring-Eureka to see how this can be done.

看看https://github.com/Netflix/eureka/wiki/Configuring-Eureka,看看如何做到这一点。