We would like receive pubsub notifications on a topic, through our firebase cloud function with pubsub trigger (https://firebase.google.com/docs/functions/pubsub-events). However, https://firebase.google.com/docs/functions/pubsub-events does not indicate how to set up the pubsub subscription, only how to receive it once it comes to firebase.
pubsub subscription of type "push" seems to be what we want, so we don't need to pull. If we create a pubsub subscription of type "push", then we are supposed to specify a https endpoint, but as we understand it, the firebase pubsub trigger is a background function. Is there an associated https endpoint that we should specify for the pubsub subscription so the notification will correctly reach firebase and trigger the pubsub trigger in our firebase cloud functions?
Or do we need to create another push endpoint on app engine, for example, and then firebase pubsub cloud function will get triggered?