squbs icon indicating copy to clipboard operation
squbs copied to clipboard

ClientFlow should allow for environment-specific configuration

Open akara opened this issue 8 years ago • 1 comments

Such configuration should be recognized by ClientFlow:

svc1 {
  type = squbs.httpclient
  akka.http.host-connection-pool {
    max-connections = 10
  }

  QA {
    // Any standard configuration
    akka.http.host-connection-pool {
      max-connections = 2
    }
  }
}

akara avatar Feb 03 '17 16:02 akara

I tend to disagree with this issue. We have EnvironmentResolver which could be used to customize configuration per environment. Baking this functionality directly into ClientFlow does not sound right to me.

anilgursel avatar Feb 06 '17 21:02 anilgursel