akka / alpakka

Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.
https://doc.akka.io/libraries/alpakka/current/
Other
1.26k stars 645 forks source link

Explain Google PubSub gRPC rootCa setting #2321

Open jrudolph opened 4 years ago

jrudolph commented 4 years ago

The reference.conf says this:

alpakka.google.cloud.pubsub.grpc {
  host = "pubsub.googleapis.com"
  port = 443

  # Set to "none" to disable TLS
  # TLS and certificates should be configured via the underlying
  # SSL-config library
  # https://lightbend.github.io/ssl-config/WSQuickStart.html#point-the-trust-manager-at-the-pem-file
  # rootCa = "none"

  # Supported values:
  # * google-application-default
  # * none
  callCredentials = "google-application-default"
}

but it's unclear what you should put in there for connecting to the official pubsub.googleapis.com which provides a trusted certificate.

See https://stackoverflow.com/questions/61793072/akka-stream-alpakka-google-cloud-pub-sub-grpc-grpc-http2exception?noredirect=1#comment109433954_61793072

raboof commented 4 years ago

This is slightly improved in #2312 but would still be nice to make better ;)

jrudolph commented 4 years ago

Good to know :)