5,199 questions
0
votes
1
answer
76
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
121
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
133
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
90
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
110
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
124
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
64
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
215
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
180
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
30
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 (...
0
votes
0
answers
98
views
Spring Cloud OpenFeign: global configuration not being applied
I'm working on a project using Java 21, Spring Cloud OpenFeign, and Apache HttpClient 5. I'm trying to create a global configuration for all Feign clients and allow client-specific behaviors via ...
0
votes
1
answer
282
views
Spring cloud gateway MVC routing
I have updated my spring boot project from 2.x to 3.x
I used to use zuul filters, which become deprecated and not usable.
My service is serve as a gateway proxy and also as a backend resource service ...
1
vote
0
answers
152
views
Spring Boot Application Fails with java.lang.NoClassDefFoundError: jakarta/inject/Provider at Startup
I'm working on a Spring Boot application using Spring Cloud Netflix Eureka. When I try to run the application, I get the following error:
org.springframework.beans.factory.BeanCreationException: Error ...
1
vote
0
answers
160
views
Getting NoClassDefFoundError for HttpClientProperties after Spring Boot Version upgrade from 3.4.3 to 3.5.3
After version upgrade to parent pom from 3.4.3 to 3.5.3,
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
...