Questions tagged [spring-cloud-netflix]

Spring-Cloud-Netflix provides Netflix OSS integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.

spring-cloud-netflix
Filter by
Sorted by
Tagged with
0 votes
1 answer
4k views

Caused by: java.lang.NoClassDefFoundError: com/netflix/discovery/shared/resolver/EurekaEndpoint

Looks like new spring cloud version of netflix has some issues.I am trying to run eureka server locally and trying to register to it and i see the following exception.I thought spring boot will pull ...
Rocky Rook's user avatar
0 votes
1 answer
466 views

Adding Spring Cloud Config to boot app causes java.lang.NoSuchMethodError by adding unwanted jar to class path

I have a working Spring boot app. I changed the application to read its configuration from Spring Cloud Config server. I added bootstrap.properties and the following dependencies to the pom: <...
Sufie's user avatar
  • 1
0 votes
1 answer
771 views

Can we implement client side load balancing with Ribbon with Spring boot 2.5.2?

we are trying to upgrade our code from spring boot 1.x to spring boot 2.5.2 and we were taking advantage of ribbon for client side load balancing with older version of spring boot (1.x). Now, when I'm ...
Raj's user avatar
  • 1,587
2 votes
1 answer
133 views

Filter services based on Eureka metadata with Zuul

We use Spring Cloud Netflix Zuul along with Eureka in our environment. I understand Ribbon obtains the server list from Eureka for specified serviceId. In our case we have 4 containers of a service, ...
eprabab's user avatar
  • 101
2 votes
1 answer
2k views

Adding feign-client dependency is causing error! I cannot start the application

I only added this dependency and i am not able to start my application. Can you explain why it is happening? Without this dependency the spring-boot application is working. I tried to use 2.5.4 and 2....
Baggio's user avatar
  • 21
0 votes
1 answer
615 views

Exclude dependency imported by org.springframework.cloud

I am using the below version in my pom.xml. i want to use spring-security-oauth2-autoconfigure : 2.1.9.RELEASE but the current version taken by maven is 2.1.2.RELEASE. How can i exclude this version ...
hello world's user avatar
0 votes
1 answer
5k views

Compatible Spring Eureka Version

I am using below on pom.xml but i am not able to start the application due to error I don't want to downgrade the spring boot starter parent version.Is there any solution? <parent> <...
hello world's user avatar
0 votes
1 answer
287 views

How to configure Spring Gateway for correct routing

I created a Spring Eureka Registry, Spring Gateway and a Customer-Servvice. On my local machine, everything works fine. I open my Registry and see there something like. host.docker.internal:customer-...
Tristate's user avatar
  • 1,598
2 votes
0 answers
485 views

Can we configure spring cloud gateway and service discovery (eureka server) on same SpringBootApplication

I am trying to run Spring Cloud "Gateway" & "Eureka-Server" on the same @SpringBootApplication, below is my code : Main Class: @SpringBootApplication @EnableEurekaServer @...
Javanectar's user avatar
2 votes
2 answers
409 views

eureka property to display datacenter and environment in the Eureka dashboard

I am working with the latest 2020.0.3 version of Spring cloud Eureka server. Which property in the application configuration will display the datacenter and environment in the Eureka dashboard? It is ...
zilcuanu's user avatar
  • 3,569
0 votes
1 answer
331 views

when spring cloud config server calls the github repository?

I mean spring cloud config server fetches all client api's configuration during startup ? or spring cloud config server fetch the client API configuration, when that client api calls the config server?...
PAVAN KUMAR's user avatar
0 votes
1 answer
4k views

Can't import Spring Cloud dependencies for enabling Eureka client

I work on app in which I try to register Eureka client on server but stuck on the first step where I need dependency which make enable @EnableEurekaClient annotation. I followed cloud.spring.io ...
Seeschon's user avatar
  • 418
0 votes
1 answer
97 views

Retry attempts with Spring Cloud Hysterix

Cn anyone please guide me as to how to give retry attempts in Spring Cloud Eureka Hysterix command as below ? Also by default does Spring Cloud breaks the circuit on the first failure to the called ...
astar's user avatar
  • 195
-1 votes
1 answer
258 views

What is difference between spring's netflix and netflix

Spring framework has a Netflix OSS and its integration. I wonder that spring has a special change like a patch for Netflix OSS. I mean spring's Netflix zuul and Netflix's zuul are completely same ...
onur's user avatar
  • 1
1 vote
1 answer
3k views

Getting Spring Boot Internal Server Error Status 500 for around one minute

I have following spring-boot setup. Client/Postman is calling API gateway (which is also acting as load balancer). The API gateway and Albums are spring boot application with are registered with ...
Naresh Chaurasia's user avatar
14 votes
5 answers
19k views

EnableEurekaClient import doesn't exist

I added spring-cloud-starter-netflix-eureka-client gradle depedency in my project and shrik the depedency. But when go use @EnableEurekaClient in my Main class it show me suggestion create @...
Mama's user avatar
  • 605
20 votes
5 answers
19k views

NoSuchMethodError: org.springframework.boot.web.servlet.error.ErrorController.getErrorPath() in latest spring-cloud-starter-netflix-zuul

My application use spring-boot version 2.5.0 and spring-cloud-starter-netflix-zuul 2.2.8.RELEASE With latest spring-boot version 2.5.0, getErrorPath() API is removed from ErrorController, but latest ...
Khoa Phung's user avatar
0 votes
0 answers
744 views

Spring netflix, zuul proxy by service id doesn't work

I'm trying to create spring boot microservices project with netflix libraries. GET Request (http://localhost:8005/api/video-service/video) causes error: com.netflix.zuul.exception.ZuulException: ...
Logan's user avatar
  • 125
0 votes
0 answers
461 views

Execute a method right after Eureka client registers in Eureka Server

I want to execute a method once the Eureka Client registers in Eureka Server. I have written the below code but the code inside onApplicationEvent() method is not getting executed after Client ...
Surya's user avatar
  • 684
2 votes
1 answer
5k views

Getting error in pom.xml with spring-cloud-starter-netflix-eureka-client dependency

I am developing microservice which needs to interact with service registry through eureka server. but I am getting the below error in pom.xml. In project structure in maven external libraries, spring-...
durgaPrasad's user avatar
0 votes
1 answer
752 views

Access service's endpoint /actuator/health through Spring Cloud Netflix: Zuul

I have Spring gateway: localhost:7856 and microservice - "my-service", for example localhost:8081. I can get access to endpoint localhost:8081/actuator/health -> {"status": &...
Anton's user avatar
  • 662
0 votes
1 answer
260 views

Delay EurekaClient startup in Spring Boot application

Docs says that Eureka client can be integrated into Spring Application very simply, just add one annotation to your configuration class and several properties into your application.properties. But ...
cybersoft's user avatar
  • 1,463
1 vote
0 answers
2k views

Eureka Ribbon Client not working after upgrading to spring-cloud-starter-netflix-eureka-client:jar:2.2.7.RELEASE

So, we upgraded spring-cloud-netflix libraries from 2.2.2.RELEASE to 2.2.7.RELEASE. I was not expecting major hiccups but upon testing I kept seeing this error. Caused by: com.netflix.client....
Zain Qazi's user avatar
2 votes
1 answer
919 views

Spring Cloud Gateway routes do not work and Hystrix Dashboard crashed loading

In a tutorial from youtube the author to use Spring Cloud Gateway, Hystrix, Netflix, and configure routes with application.yml, but when I try to send data from the endpoint I just hang on the Hystrix ...
Braian Silva's user avatar
  • 2,056
0 votes
0 answers
63 views

Can we customize or configure RPC or method call in place of endpoint(URL) for Netflix Ribbon or Spring Cloud Gateway?

In my project requirement, We need to distribute the load between two different micro services but call of the two microservices are not based on the endpoint(URL) but it is calling via it's SDK-...
Spandan's user avatar
  • 11
1 vote
0 answers
132 views

How to distribute Traffic between two micro services when it is called from third service based on TPS Percentage

Detailed Requirement : If there are two services say A and B and we want to distribute traffic in 10% & 90% basis then 10% of traffic should get routed to Service-A & 90% to Service-B from ...
swati mishra's user avatar
0 votes
0 answers
481 views

Is there any way to configure the traffic load distribution based on percentage value

We have two micro services Say Service MS-AA & MS-BB and we have configured the load as 10% for MS-AA & 90% for MS-BB from a third microservice-XYZ Does Netflix Ribbon can solve my problem? If ...
Spandan's user avatar
  • 11
0 votes
1 answer
622 views

Deployment Context Based Vip Address in Spring Cloud Load Balancer

We are looking to of move to Spring Cloud Load Balancer to replace Ribbon. We use Eureka for service discovery and registration. It looks like as of Spring Cloud Netflix 3.x, the ...
xenobc's user avatar
  • 1
0 votes
1 answer
675 views

Problem with registering service in eureka

I have the following eureka server configuration Pom.xml <parent> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-parent</artifactId>...
maciejka's user avatar
  • 948
0 votes
0 answers
128 views

Spring Cloud Eureka/Spring Cloud Config integration

Can Spring Cloud Eureka get some of its properties from Spring Cloud Config with our microservices utilizing Discovery First Bootstrap? So, our Spring Cloud Config microservices start up and attempt ...
Keith Bennett's user avatar
5 votes
3 answers
16k views

No servers available for service: while routing in Netflix ribbon

I had below working code in spring boot 2.3.4 public Route.AsyncBuilder apply(PredicateSpec route) { return route .path("/api/external/**") .filters(f -> f ...
Ruchira Gayan Ranaweera's user avatar
2 votes
2 answers
2k views

Spring Cloud Gateway & Netflix/Eureka - Invalid host lb://

I am getting into the Spring Cloud 2020.0.0 world. I have a config server, gateway server, eureka server and the first microservice setup and deployed in a dev env where they can all talk to each ...
the_anj's user avatar
  • 91
0 votes
1 answer
885 views

Spring Boot App doesn't start when the first eureka server is down

i've Eureka cluster with multiple servers: #ENV EUREKA_URL=http://host1:8761/eureka/,http://host2:8761/eureka/,http://host3:8761/eureka/ #boostrap.yml eureka: client: registryFetchIntervalSeconds:...
0xDEADBEEF's user avatar
2 votes
0 answers
989 views

Ribbon failed fetching serverlist from Eureka

I'm trying to use ribbon together with eureka, but my consumer application failed with error below: 2021-01-07 19:02:20.441 INFO 2768 --- [io-10100-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : ...
Joshua's user avatar
  • 21
0 votes
0 answers
86 views

Difference in Spring cloud eureka and spring data flow

We have a monolithic application with quite a few upstream and downstream application along with with a layer of ETL operations. We are in process of breaking down this application in microservices. ...
Sameer Hameed's user avatar
3 votes
0 answers
1k views

Spring Cloud Zuul - which connection parameters work when?

According to this comment, Zuul offers the following kinds of configuration parameters: zuul.host.* : these include e.g. max-per-route-connections and max-total-connections. There are only relevant ...
filpa's user avatar
  • 3,600
5 votes
0 answers
687 views

Loading properties from a custom config server using Eureka

I want to bootstrap my web application with a set of properties that are supplied by a service that is registered with Eureka. I set up Eureka, ConfigServer (REST service) & Client Application ...
Renjith's user avatar
  • 1,134
5 votes
0 answers
334 views

Spring Zuul Header based routing hangs when downstream is not responsive for some time

I have implemented the below code to route requests based on headers to the respective downstreams. When the downstream are unresponsive for sometime Zuul stops forwarding the requests, it does not ...
unnik's user avatar
  • 1,143
3 votes
1 answer
4k views

Change Configuration from Ribbon to Spring Cloud Load Balancer in spring cloud gateway

I have below configuration for spring cloud gateway with ribbon server: port: 8080 spring: cloud: gateway: routes: - id: UserModule uri: lb://load-balanced-service-...
abishkar bhattarai's user avatar
-1 votes
1 answer
33 views

where to download spring cloud netflix Java API Doc?

Where to download the Java API doc for spring cloud netlix Looking for something like this. https://maven.springframework.org/release/org/springframework/spring/5.2.9.RELEASE/
Peddi's user avatar
  • 92
1 vote
1 answer
2k views

How to connect Config Client to Config server using Eureka server?

I have Scenario that whenever we use config server with config client we need to put in bootstrap.yaml. suppose my config server on port 9001 so i need to hardcore this value in properties file that ...
Pratik's user avatar
  • 21
1 vote
1 answer
408 views

NoSuchFieldError: DEFAULT_INCOMPATIBLE_IMPROVEMENTS

While trying out Netflix hystrix on Spring boot 2.3.3 gives the following error - ... org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freeMarkerConfigurer' ...
Ascii Bhatt's user avatar
2 votes
1 answer
866 views

Is Eureka running on 8761 or 8080?

I've created a new spring boot project with "spring-cloud-starter-netflix-eureka-server" dependency. Also have added "@EnableEurekaServer" annotation and launched the spring boot ...
rakesh mehra's user avatar
0 votes
1 answer
2k views

to get alert if any micro-service is down

In microservices how to get an alert if any microservice is down?? I am using Spring boot for the creation of microservices, I want to have an alert mechanism if any service is down. For example:- I ...
Sumanth's user avatar
  • 179
1 vote
0 answers
231 views

How register eureka server as client after start eureka server

I have a Eureka Server, which is also a config server. By default, at startup, Eureka Server tries to register itself as a service before it starts itself. And I need to make sure that Eureka Server ...
Kirill Sereda's user avatar
1 vote
1 answer
4k views

Spring Cloud Gateway - Simple Routing or fallback doesnt work

I am new to Spring cloud gateway implementation. Just by trying a simple tutorial the code doesnt seem to work. Please see the following steps and code which I have done. Use spring initializer to ...
Grim42's user avatar
  • 93
1 vote
2 answers
394 views

How to define Ingress in GKE, with Spring Cloud Netflix containers

I have a microservice architecture, build on Spring Cloud Netflix: business-owner-service points to a Spring Boot app that runs on port 8763. Port forwarding is done, business-owner-service:80 ...
2dor's user avatar
  • 931
0 votes
0 answers
351 views

How to configure Zuul as a proxy for an Eureka Service Mesh

We have a Service Mesh with Eureka Server and multiple Services implemented with Eureka Client. Updated Network Diagram Show Network Diagram The service MY-SERVICE is going to be installed in a DMZ (...
stefan123t's user avatar
0 votes
1 answer
156 views

The eurika service is it necessray in implementing a microservice?

I want to create a microservice with spring boot but in fact I am not underestanding the architecture microservice well ! I create a controller, a service, a repository, a model and I have related it ...
foufa oueslati's user avatar
0 votes
0 answers
896 views

Eureka server is not able to start with error java.lang.NoClassDefFoundError: com/netflix/config/ConfigurationManager

I have just started learning eureka discovery server. I have created the base spring boot application using spring initializer. I have added enable eureka annotation and trying to start the ...
Rohit's user avatar
  • 430

1
2
3 4 5
18