When I use the following configuration:

feign:
  client:
    config:
      provider:
        connectTimeout: 1000
        readTimeout: 1000

The ClientName in IClientConfig is null when the provider is called. Why don't we assign clientName to it?

IClientConfig getClientConfig(Request.Options options, String clientName) {
        IClientConfig requestConfig;
        if (options == DEFAULT_OPTIONS) {
            requestConfig = this.clientFactory.getClientConfig(clientName);
        }
        else {
                       //Why is the loadProperties method in the FeIgnoptionSclientConfig class is empty?
            requestConfig = new FeignOptionsClientConfig(options);
        }
        return requestConfig;
    }

Comment From: OlgaMaciaszek

@jackding79 The clientName here refers to ribbon client name as defined with @RibbonClient(name = "xxx", configuration = Yyy.class). For an example of a correct setup, you can take a look at this test.

Comment From: spring-cloud-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-cloud-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.