title: Migrate Feign Load Balancer implementation to compatible with Spring cloud 2020.0.0
body: <p>I have below implementation of Feign Load balancer which is working with spring cloud <code>Hoxtan SR6</code> dependencies.</p>
  <pre><code>import feign.auth.BasicAuthRequestInterceptor;
  import org.apache.http.conn.ssl.NoopHostnameVerifier;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.beans.factory.annotation.Value;
  import org.springframework.cloud.netflix.ribbon.SpringClientFactory;
  import org.springframework.cloud.openfeign.ribbon.CachingSpringLoadBalancerFactory;
  import org.springframework.cloud.openfeign.ribbon.LoadBalancerFeignClient;
  import org.springframework.context.annotation.Bean;
  
  public class ClientConfig {
  
  @Bean
  public BasicAuthRequestInterceptor basicAuthRequestInterceptor(
          @Value(&quot;${username}&quot;) String username,
          @Value(&quot;${password}&quot;) String password) {
      return new BasicAuthRequestInterceptor(username, password);
  }
  
  @Autowired
  private CachingSpringLoadBalancerFactory cachingFactory;
  @Autowired
  private SpringClientFactory clientFactory;
  
  @Value(&quot;${keystore.location}&quot;)
  private String keyStoreLocation;
  @Value(&quot;${keystore.secPhase}&quot;)
  private String keyPassword;
  
  @Bean
  public Client feignClient() {
      SslUtils.KeystoreConfig truststoreConfig = SslUtils.KeystoreConfig.builder().type(&quot;JKS&quot;).location(keyStoreLocation).password(keyPassword).build();
      SocketFactory factory = new SocketFactory(() -&gt; SslUtils.newContext(null, truststoreConfig));
      NoopHostnameVerifier verifier = new NoopHostnameVerifier();
      Client.Default client = new Client.Default(factory, verifier);
      return new LoadBalancerFeignClient(client, cachingFactory, clientFactory);
  }
  }
  </code></pre>
  <p>I tried to upgrade spring cloud version to <code>2020.0.0</code>. I noticed below packages no longer available.</p>
  <pre><code>import org.springframework.cloud.openfeign.ribbon.CachingSpringLoadBalancerFactory;
  import org.springframework.cloud.openfeign.ribbon.LoadBalancerFeignClient;
  </code></pre>
  <p>How can I change the current implementation? or what dependency will provide these packages?</p>