GCP Pub/Sub Boost Adapter
Optimizes Go event-driven services using GCP Pub/Sub with the Boost framework, ensuring graceful shutdowns and correct context propagation.
This skill provides specialized guidance for implementing Google Cloud Pub/Sub subscribers using the boost framework's bootstrap adapter. It addresses a critical production limitation regarding context loss in the default fn.Run path, which prevents proper SIGTERM handling and graceful message draining. By enforcing a standardized production workaround and mandatory documentation patterns, it ensures that event-driven Go services remain resilient, maintainable, and capable of proper shutdown during deployments or restarts.
Características Principales
01Implements GCP Pub/Sub adapters using canonical apubsub patterns
02Enforces mandatory // TODO(boost-upstream): annotation discipline
03Provides production-ready workarounds for SIGTERM graceful shutdown
04Ensures type safety for CloudEvents in the subscriber chain
0512 GitHub stars
06Configures recovery, logger, and publisher middleware chains
Casos de Uso
01Fixing ungraceful shutdowns in production event-driven services
02Building resilient Go microservices that subscribe to GCP Pub/Sub topics
03Standardizing TODO markers for upstream framework bug tracking