5,233 questions
0
votes
0
answers
17
views
Spring Cloud Kubernetes Config Server spring.cloud.kubernetes.discovery.namespaces
I have a kind cluster running for which I added the Spring Cloud Kubernetes Config Server Deployment running in the config namespace.
I have a pod running my-service in the 'bar' namespace
When I exec ...
0
votes
1
answer
31
views
Local property YAML files are not included in a .jar executable files
I've created a config server by Spring Cloud Config. The project looks like this:
src
- main
- java
- com.my.configserver
- ConfigserverApplication.java
- resources
- ...
-1
votes
0
answers
29
views
Redis Key collisions when sharing DB between two or more Spring Boot Apps (Spring Cloud Gateway)
I've multiple Spring Boot based projects deployed in a Kubernetes cluster, all of them share the same Redis DB instance also hosted in the same cluster.
Some of the Apps are built as Spring Cloud ...
-2
votes
0
answers
26
views
How to efficiently fetch user avatar from another microservice in Spring Boot? [closed]
I’m building a microservices-based system with order-service and user-service.
Each order is created by a user, and in the order list I want to display the user’s avatar.
Avatars are stored in MinIO.
...
1
vote
1
answer
33
views
Spring Cloud Contract test fails after adding OpenFeign dependency
I'm working on a Spring Boot project using Spring Cloud Contract for consumer-driven contract testing. My setup was working fine with the following dependencies in the parent pom.xml:
spring-cloud-...
1
vote
1
answer
127
views
+50
Spring RestTemplate is not finding recovery method
I have this org.springframework.web.client.RestTemplate code used in old Spring boot microservices configured to work with Eureka client/Server. I'm trying to make it work with org.springframework....
-1
votes
0
answers
11
views
Message spooled in Solace when consumers are running without errors or exceptions
We tested various combinations of Solace Spring Cloud, Spring Cloud, Spring Boot Starter Parent, and Sol JCSMP versions, including:
Solace Spring Cloud 4.5.0, Spring Cloud 2023.0.4, Spring Boot ...
0
votes
0
answers
26
views
Spring Cloud Kubernetes does not reload properties from ConfigMap (watch and polling both fail to refresh)
I'm using Spring Boot 3.1.4 and Spring Cloud 2022.0.5 with the dependency:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-...
0
votes
1
answer
76
views
Spring AI and Spring Cloud Compatibility Issue: JSON Parsing Error in OpenAI Chat Client
I have a working Spring AI project, but when I add dependencies for Spring Cloud (such as Eureka or Config Client), I get the following error when invoking the chat client.
Dependencies:
Spring Cloud ...
0
votes
0
answers
22
views
Why do I get two KubernetesClient beans only when running a native image?
I have a Spring Boot + Spring Cloud application that I'd like to build as a native image for faster startup time and smaller image size. I understand that Spring Cloud is not yet providing official ...
0
votes
0
answers
24
views
Avoid leadership grant on shutdown (Spring Cloud Kubernetes)
I have an application using the Spring Cloud Kubernetes leader election mechanism. When shutting down the pod, I would like to revoke leadership before the Spring graceful shutdown starts to ensure ...
1
vote
1
answer
48
views
Eureka server self registration issue
Im writing a microservice system and I have a config server component and a eureka server component. I am fetching the eureka server configurations from the config server. When I invoke the endpoint ...
0
votes
1
answer
88
views
Running out of ports when using Spring Boot Open Feign during performance test
I am encountering an issue in my project related to performance measurement using JMeter, where I need to use OpenFeign. When I start my benchmark after some time (around 15 seconds), I receive an ...
0
votes
0
answers
77
views
Gradle build is failing [Spring Cloud Contract Verifier Plugin exception: Process 'java17.exe' finished with non-zero exit value 1]
I'm trying to create a new consumer application using Gradle and spring contract stub runner.
I'm stuck on the error **Execution failed for task ':generateClientStubs'.
Spring Cloud Contract Verifier ...
0
votes
1
answer
54
views
java.lang.TypeNotPresentException: Type jakarta.servlet.http.HttpServletRequest not present with provided spring-boot-starter-tomcat dependency
Below are the logs which I'm getting while staring the application.
2025-03-02T07:31:00.628+05:30 WARN 13140 --- [configserver] [ main] s.c.a.AnnotationConfigApplicationContext : Exception ...