Google Cloud PubSub
Functions can be used as sinks for Knative Eventing event sources such as Google Cloud PubSub.
Here's how to setup a function as an event sink for the Google Cloud PubSub event source:
functions: myFunction: handler: gcr.io/knative-releases/github.com/knative/eventing-contrib/cmd/event_display:latest events: - gcpPubSub: project: my-project topic: my-topic
Edit this page