Netflix Eureka: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
<!-- client --> | <!-- client --> | ||
<!-- eureka.client.serviceUrl.defaultZone: http://10.20.21.10:2013/eureka --> | |||
<dependency> | <dependency> | ||
<groupId>org.springframework.cloud</groupId> | <groupId>org.springframework.cloud</groupId> | ||
Line 31: | Line 32: | ||
<!-- balancer --> | <!-- balancer --> | ||
<!-- server.port: 2013 --> | |||
<!-- eureka.client.fetchRegistry: false --> | |||
<!-- eureka.client.registerWithEureka: false --> | |||
<dependency> | <dependency> | ||
<groupId>org.springframework.cloud</groupId> | <groupId>org.springframework.cloud</groupId> | ||
Line 37: | Line 41: | ||
<!-- cluster --> | <!-- cluster --> | ||
<!-- eureka.client.serviceUrl.defaultZone: http://10.20.21.10:2013/eureka --> | |||
<!-- eureka.client.instance.preferIpAddress: true --> | |||
<dependency> | <dependency> | ||
<groupId>org.springframework.cloud</groupId> | <groupId>org.springframework.cloud</groupId> |
Revision as of 00:29, 10 February 2022
Lookup for Version https://www.baeldung.com/spring-cloud-netflix-eureka https://github.com/eugenp/tutorials/tree/master/spring-cloud/spring-cloud-eureka Lookup for Dependency https://github.com/eugenp/tutorials/blob/master/parent-boot-2/pom.xml https://github.com/eugenp/tutorials/blob/master/spring-cloud/pom.xml https://github.com/eugenp/tutorials/blob/master/spring-cloud/spring-cloud-eureka/spring-cloud-eureka-feign-client/pom.xml
<version.chorke.spring.cloud>2021.0.0</version.chorke.spring.cloud>
<version.chorke.spring.boot>2.6.3</version.chorke.spring.boot>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${version.chorke.spring.cloud}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<!-- client -->
<!-- eureka.client.serviceUrl.defaultZone: http://10.20.21.10:2013/eureka -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<!-- balancer -->
<!-- server.port: 2013 -->
<!-- eureka.client.fetchRegistry: false -->
<!-- eureka.client.registerWithEureka: false -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>
<!-- cluster -->
<!-- eureka.client.serviceUrl.defaultZone: http://10.20.21.10:2013/eureka -->
<!-- eureka.client.instance.preferIpAddress: true -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>