I try to configure feign client timeout to 5 seconds.
The application is just a simple demo app, and the configuration taken from official Spring documentation.

I configure it on application.yml, literally copy-paste the doc

feign:
  client:
    config:
      default:
        connectTimeout: 5000
        readTimeout: 5000
        loggerLevel: basic

But it does not works. Do I need to set something else?
I only use openfeign as dependency, no hystrix.
This happened on spring boot 2.2.2 with cloud Hoxton.RELEASE
I'm attaching my sample project below just in case you need them.

Thank you

demo.zip

Comment From: OLPMO

I think you should create a server in your demo which would listen to the url:http://localhost:9047/payroll/api/master/asdasfas,and let it sleep 5000ms when it accept the connection ,do you think so? @timpamungkas

Comment From: spring-projects-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.