Hi guys, is there anyway to forward an received http header from the current HttpRequest to a @FeignClient call? I found the interface RequestInterceptorbut I haven’t figured out if I can do such thing.
Hello, is it possible to override or set ribbon's list of servers via application properties when using @EnableDiscoveryClient(consul)? I have a case where a client is not auto-discoverable(yet) and I'm attempting to set its list of server via myclient.ribbon.listOfServers=myclientserver
@PedroAlvarado the default server list for consul is a consul one, to use listOfServers you need to create an @RibbonClient with a configuration that has a ConfigurationBasedServerList, then that will work.
@dsyer - i have a qq .. I have 2 cloud foundry data center and API gateway is configure to look into eureka and send traffic to UI..Eureka is paired across the datacenter.. but some time we notice that first request hit Datacenter1 and second request goes to datacenter 2 and failing as session lost.. I have put ribbon zone affinity enabled .. still no luck.. is there anything I am missing to make ribbon affinity to zone ?