5,197 questions
0
votes
0
answers
24
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
27
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 ...
0
votes
0
answers
55
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 ...
-2
votes
0
answers
111
views
Spring Boot 4: MappingJacksonValue deprecated - what is the recommended alternative for dynamic JsonView/serialization hints in reactive controllers?
In Spring Boot 4, MappingJacksonValue is now deprecated.
The official documentation suggests using Jackson serialization hints, but it’s not clear to me how this should be applied in a reactive ...
0
votes
1
answer
82
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
200
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
171
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
100
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
122
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
148
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
65
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
245
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 (...