These are chat archives for spring-cloud/spring-cloud

29th
Aug 2018
Szymon Zberaz
@SzymonZberaz_twitter
Aug 29 2018 07:57
Hello, Is possible to set a refresh interval of available services in Ribbon / Feign or consul ? Sometimes when I delete a pod on K8S, ribbon is throwing exception with message like that " com.netflix.client.ClientException: Load balancer does not have available server for client: foo-service ", but a service is available in consul UI
Marcos Barbero
@marcosbarbero
Aug 29 2018 08:00
If you add a retry policy this issue may go away
Szymon Zberaz
@SzymonZberaz_twitter
Aug 29 2018 08:05
ok, I will try. I have second question. Do you know why feign client may finish with 404 and 200 http status randomly ? Sometimes I need to restart all of the services on K8S to reduce this bug.
Szymon Zberaz
@SzymonZberaz_twitter
Aug 29 2018 08:11
random responses sequence looks : 200, 404, 200, 404, 200, 404 .... this is annoying
Marcos Barbero
@marcosbarbero
Aug 29 2018 08:40
Sorry, I never saw it happening
Eric Deandrea
@edeandrea
Aug 29 2018 13:16

Anyone know how I can bind a reactive Spring Boot application to a Redis Pivotal Cloud Foundry tile using AbstractCloudConfig? Using blocking configuration I can do

@Configuration
@Profile({ “cloud”, “redis”})
public class CloudConfig extends AbstractCloudConfig {
  @Bean
  public RedisConnectionFactory redisConnectionFactory() {
    return connectionFactory().redisConnectionFactory("sba-redis");
  }
}

How do I do the same thing but instead return a ReactiveRedisConnectionFactory?

CH4:D
@chad_d_stud_twitter
Aug 29 2018 13:20
what do you guys use to interface with google maps api?
Carlos Barragan
@carlosbarragan
Aug 29 2018 16:35
Hi, is it possible to use hystrix-dashboard in a webflux application? When I add the dependency, it brings starter-webwith it
Carlos Barragan
@carlosbarragan
Aug 29 2018 20:51
For what is worth, as soon as I add @EnableHystrixDashboard tomcat is started instead of Netty