Google Cloud Pub/Sub target
Sends events to a Google Cloud Pub/Sub topic.
With tmctl
:
tmctl create target googlecloudpubsub --topic <topic> --credentialsJson $(cat ./creds.json) --event-types my.type
On Kubernetes:
apiVersion: targets.triggermesh.io/v1alpha1
kind: GoogleCloudPubSubTarget
metadata:
name: googlecloudpubsub
spec:
topic: <topic>
credentialsJson:
secretKeyRef:
name: googlecloudpubsub
key: creds
This target consumes events of any type.
See the Kubernetes object reference for more details.
Prerequisite(s)
- Google Cloud Console account.
- A service account and it's associated JSON credentials.
- a pre-existing Google Cloud Pub/Sub topic.