I have build a spring cloud demo with feign and ribbon in it,but the retry function doesn't work.In the same program ,I use RestTemplate too.In this case the retry function works well.Does Feign need extra configuration to use retry?
application.yml
spring:
cloud:
loadbalancer:
retry:
enabled: true
ribbon:
MaxAutoRetries: 1
MaxAutoRetriesNextServer: 2
OkToRetryOnAllOperations: true