google cloud pubsub node.js client not compatible with google cloud functions

前端 未结 3 1045
挽巷
挽巷 2020-12-17 03:58

Architecture:

We have an architecture using 2 pubsub topic/subscription pairs:

  • Topic T1 is triggered by a cronjob periodically (every 5
3条回答
  •  青春惊慌失措
    2020-12-17 04:39

    A developer from the node.js pubsub client confirmed that using the client to pull messages from a Cloud Function is not a supported use case.

    The alternative is to use the service APIs. However, the REST APIs have their own caveats when attempting to pull all messages from a subscription.

提交回复
热议问题