Netflix Eureka: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by the same user not shown)
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 30: Line 31:
</dependency>
</dependency>


<!-- server -->
<!-- balancer -->
<dependency>
<!-- server.port: 2013 -->
<!-- eureka.client.fetchRegistry: false -->
<!-- eureka.client.registerWithEureka: false -->
<dependency>
     <groupId>org.springframework.cloud</groupId>
     <groupId>org.springframework.cloud</groupId>
     <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
     <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
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>
Line 44: Line 50:


==References==
==References==
* [[Spring Cloud OpenFeign]]
* [https://www.baeldung.com/spring-cloud-consul Spring Cloud Consul]
* [https://www.consul.io/docs/intro What is Consul?]
* [[Camunda]]
* [[Zuul]]
* [[Zuul]]

Latest revision as of 10:27, 17 September 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>

References