5,177 questions
Advice
0
votes
3
replies
92
views
What is the difference between spring.cloud.gateway.server.webflux.httpclient.response-timeout and spring.cloud.gateway.httpclient.response-timeout
What is the difference between these two Spring Cloud Gateway properties -
spring.cloud.gateway.server.webflux.httpclient.response-timeout and spring.cloud.gateway.httpclient.response-timeout
Are both ...
Score of 0
0 answers
100 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 ...
Score of 0
2 answers
193 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 ...
Score of 1
0 answers
480 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 ...
Score of 0
1 answer
104 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/...
Score of 1
1 answer
355 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 ...
Score of 1
2 answers
366 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:
...
Score of 0
0 answers
133 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/...
Score of 0
0 answers
179 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 ...
Score of 0
1 answer
184 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.
...
Score of 0
1 answer
81 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
...
Score of 1
1 answer
286 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 ...
Score of 3
1 answer
196 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 ...
Score of 0
0 answers
40 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 ...
Score of 0
0 answers
37 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 (...