We have few services in our GCP cloud environment which are consuming and publishing messages from pubsub and does not have any http api. When we deploy our services via pipeline, we use green/blue deployment stretagy with traffic configuration is 100% to green revision.
We observed that after the deployment one revision(latest one) with tag green and old revision with blue tag.
What our concern is that during testing we observed that some of our pubsub messages are getting consumed by blue revision, but it should have been consumed by only green revision. Afer some research, I found that 100% traffic is for http calls not for events(pubsub).
Can someone please suggest what could be the solution here so that latest green revision consumes all the messages from pubsub.