skills/cloud/gcp/pubsub-messaging/SKILL.md
--- name: pubsub-messaging description: Use when designing Pub/Sub topics/subscriptions, choosing push vs pull, handling message ordering, dead letters, or integrating Pub/Sub with Dataflow/BigQuery. Covers GCP-PDE domain: Ingest and process data (~25-30%). --- # Pub/Sub Messaging ## When to Use - Designing event-driven or streaming ingestion on GCP - Choosing between Pub/Sub and Pub/Sub Lite - Troubleshooting message delivery, ordering, or acknowledgement issues - Preparing for GCP Profession
npx skillsauth add kienbui1995/magic-powers skills/cloud/gcp/pubsub-messagingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
orders-created, sensor-readings)| Factor | Pull | Push | |--------|------|------| | Consumer | Subscriber polls for messages | Pub/Sub pushes to HTTPS endpoint | | Control | Consumer controls rate | Pub/Sub controls delivery rate | | Best for | Dataflow, batch consumers | Cloud Run, webhooks, Cloud Functions | | Auth | Service account key/WIF | OIDC token in Authorization header |
| Factor | Pub/Sub | Pub/Sub Lite | |--------|---------|--------------| | Management | Fully managed, global | Zone/region-specific, manual capacity | | Ordering | Ordering keys | Partition-based ordering (like Kafka) | | Cost | Per message/byte | Provisioned capacity (cheaper at scale) | | Retention | 7 days | Configurable up to 31 days | | Use case | Default choice | Cost-sensitive high-volume workloads |
content-media
Use when designing for XR (AR/VR/MR), choosing interaction modes, or adapting 2D UI patterns for spatial computing
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Use when executing a structured workflow — select and run a feature, bugfix, refactor, research, or incident template with correct agent and model assignments per phase.