5,194 questions
0
votes
0
answers
69
views
Swagger routing issue in API Gateway failed to load API definition
I have a Spring Boot microservices example containing config server, discovery server, API gateway and other services.
I can read all application.yml files from config-repo fetched by config server.
I ...
0
votes
0
answers
29
views
Can Spring Cloud Contract do Consumer‑Driven Contract Testing? [duplicate]
Background
We have implemented a provider-driven contract test using Spring Cloud Contract. We have multiple contracts for each of the provider's endpoints being used by the consumer. Then the ...
0
votes
2
answers
44
views
Spring Cloud Gateway auto-configuration not registering RouteDefinitionRouteLocator
Spring Cloud Gateway auto-configuration not registering RouteDefinitionRouteLocator and related infrastructure beans under Spring Boot 4.0.2 + Spring Cloud 2025.1.1, resulting in zero route ...
1
vote
0
answers
133
views
Spring Cloud Open Feign: Custom Jackson Object Mapper via Decoder
Following this (https://github.com/spring-cloud/spring-cloud-openfeign/issues/1306) we have an Issue on our side.
Before we updated to SpringBoot 4.0.2 and OpenFeign 5.0.0 we had the following config ...
0
votes
1
answer
85
views
What are the imports used in spring cloud gateway rate limiter documentation
I am reading spring cloud gateway mvc (v5.0.0) documentation for rate limiters as linked here
https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway-server-webmvc/filters/...
1
vote
1
answer
243
views
Spring Cloud Stream: "Failed to locate function" warning when using custom Consumer abstraction
I am encountering a warning when starting my application using Spring Boot 3.5.8 and Spring Cloud Stream 2025.0.0.
To provide some context, I created an abstraction over Consumer to handle boilerplate ...
1
vote
2
answers
218
views
spring-cloud-gateway-webflux multiple Path predicates return 404
I’m having trouble with Spring Cloud Gateway (WebFlux) when I define multiple Path predicates for a single route.
Here is an example of my configuration in application.yml:
spring:
cloud:
...
0
votes
0
answers
105
views
Spring Boot app using AWS Parameter Store does not reflect updated values even after container restart (requires redeployment)
I have a Spring Boot application running in a container.
I configured AWS Parameter Store integration using:
/application/env/version/1.0/SPRING_CONFIG_IMPORT = aws:parameterstore:/application/env/...
0
votes
0
answers
139
views
Could not instantiate KafkaProperties
I'm migrating from Spring Boot 2 to Spring Boot3, i'm NOT migrating to Sprinc Cloud 4 but i will stay to SpringCloud 3 (i know Spring Boot 3 is mandatory if you want to use Spring Cloud 4 but not the ...
0
votes
1
answer
162
views
Gateway Server WebFlux Native with actuator port throws "trustedProxies must not be empty"
I created a Spring Cloud Gateway Reactive project with Actuator and Native compile. I specified the actuator to run on separate port. I populated trustedProxies to permit to forwarded headers.
...
0
votes
1
answer
68
views
How to distinguish user Token and client Token authentication in Spring Security?
Scene description
I am developing a microservice system based on Spring Boot + OpenFeign + Spring Security, which needs to handle two different authentication scenarios:
Scene One: User Access Chain
...
1
vote
1
answer
256
views
Functional bean can't be recognized by Spring Function
I have two configuration classes with functional beans:
@Configuration
public class PositionReporter {
@Bean
public Supplier<Aircraft> reportPositions() {
return () -> new ...
3
votes
1
answer
181
views
Disable @PreAuthorize
I have a Spring Security configuration for permitting all requests:
@Configuration
@EnableWebSecurity
@Profile("no-auth")
public class NoAuthSecurityConfig {
private static final Logger ...
0
votes
0
answers
36
views
Issue with polling multiple s3 files usin netflix archaius aws jar
I am facing a peculiar problem related to polling of s3 file for changes using archaius jar. I have two s3 file in a single bucket and want to poll the files for any changes separately.
I used the ...
0
votes
0
answers
31
views
Order of precedence of environment properties with multiple property sources having same name
I am new to spring cloud config server and config client. I have a scenario where my config server application is fetching one single property (test.password) from two different sources - Cyberark (...