spring-cloud-dependencie: 2021.0.0-SNAPSHOT (includes fix Adds config per load balancer client)
I have tried to test feign client with the last load balancer (snapshot version) which includes the possibility to configure load-balance per client.
Feign DefaultFeignLoadBalancerConfiguration class uses @EnableConfigurationProperties({LoadBalancerProperties.class}). But in last spring-cloud-common @ConfigurationProperties annotation was removed from class LoadBalancerProperties.
Application doesn't start with error:
Caused by: java.lang.IllegalStateException: No ConfigurationProperties annotation found on 'org.springframework.cloud.client.loadbalancer.LoadBalancerProperties'.
Comment From: OlgaMaciaszek
Yes, it's a known issue - will be fixed before any release. Thanks for reporting, anyway.
Comment From: OlgaMaciaszek
Fixed with https://github.com/spring-cloud/spring-cloud-openfeign/commit/5fee522f4ccc2c4b1f6a4fee241bf70e73e2a4f6.