简体   繁体   中英

Can we pull messages from GCP Pub/Sub subscription over Interconnect?

It is feasible to pull messages from GCP Pub/Sub subscription over public Inte.net by reaching to the public GCP Pub/Sub API endpoint.

However, is it feasible to pull messages over the GCP dedicated Interconnect for more stable.network connection? I would like to reduce the workload of proxy for reaching Public Inte.net by going through the private dedicated Interconnect channel.

GCP provide private access options for private routing. One of the example that suits the use case is the private service connect endpoint.

A private endpoint is deployed in the GCP project. On-premise host can access google API via this endpoint through VPC or Interconnect access, instead of the public API endpoint, such that the traffic can avoid exposing in the public Inte.net.

https://cloud.google.com/vpc/docs/private-access-options

Please see the docs on service apis overview, which explain that: "Requests to the global endpoint made over Interconnect are routed similarly to requests originating in the region associated with the interconnection. In case Pub/Sub becomes unavailable in a region, requests originating within the same Google Cloud region are not load balanced to a different region." https://cloud.google.com/pubsub/docs/reference/service_apis_overview

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM