This repository contains simple Node.js scripts to consume and validate connectivity to Google Cloud Pub/Sub subscriptions in the QA environment using a consumer-only service account.
- Node.js 18+
- Access to the service account key file (
gsa-pubsub-qa.json) - Access to the configured Pub/Sub subscriptions
npm installnode .\test_connection.jsnode .\subscriber.js