Google Pub/Sub
Google Pub/Sub is the GCP managed service for real-time stream processing
Pre-requisites
$ gcloud auth activate-service-account --project=my-project-123 \
--key-file=sevice_account_key_file.json
$ gcloud pubsub topics publish my-gcp-topic-1 --message="hello"
messageIds:
- '6470211179713996'
$ gcloud pubsub subscriptions pull my-gcp-topic-1-sub --auto-ack
┌───────┬──────────────────┬──────────────┬────────────┬──────────────────┐
│ DATA │ MESSAGE_ID │ ORDERING_KEY │ ATTRIBUTES │ DELIVERY_ATTEMPT │
├───────┼──────────────────┼──────────────┼────────────┼──────────────────┤
│ hello │ 6470211179713996 │ │ │ │
└───────┴──────────────────┴──────────────┴────────────┴──────────────────┘Creating the forwarder

Enter forwarder configuration
Testing the Google PubSub forwarding
Last updated
Was this helpful?
