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

7th
Dec 2016
José Vieira Neto
@NetoDevel
Dec 07 2016 05:54
Hello everyone, I am developing a scaffold for api in kotlin with spring boot, integrated to the spring boot cli. Who interested in contributing:
https://github.com/NetoDevel/spring-boot-scaffold-kotlin
Dominik Gätjens
@dcg
Dec 07 2016 07:21
@NetoDevel i'm missing the part "why should i care" ;) what are the benefits of kotlin with spring boot?
Thibaud Lepretre
@kakawait
Dec 07 2016 08:48
Hello, I would create a "post" ZuulFilter inside Spring-cloud project that interact with response headers. Here I have a stupid question but should I have to used ctx.getZuulResponseHeaders()or ctx.getResponse() (and associated headers methods) to alter headers?
Moreover if ctx.getZuulResponseHeaders() is the way to do, I saw that com.netflix.util.Pair is not part of usable deps, I have to add it explicitly on pom.xml like following:
<dependency>
    <groupId>com.netflix.netflix-commons</groupId>
    <artifactId>netflix-commons-util</artifactId>
</dependency>
Thibaud Lepretre
@kakawait
Dec 07 2016 09:30

@ryanjbaxter (other subject) I just saw that comment https://github.com/spring-cloud/spring-cloud-netflix/issues/1290#issuecomment-242204614. As I understand Zuul will use HttpClient instead of RibbonClient by default. Thus what I'm asking is following configuration still useful in Camden?

<route>:
  ribbon:
    # Case sensitive properties
    ReadTimeout: 5000

or even global version

ribbon:
  ReadTimeout: 60000