It seems to me you are reporting two issues here:
1- Why the legitimate consumer is not getting the message
2- How to avoid having illegitimate consumer in pubsub
For question 2, This document describes the access control options available to you in Pub/Sub[1].
For question 1 it is hard to troubleshoot this without having the subscription id and a code snippet, As Google groups are not the proper place to share those infos and troubleshoot a specific issue, I would advise you to report the issue here [2], when you do so, you need to provide more detail how do you see messages are getting consumed?
[1]:https://cloud.google.com/pubsub/docs/access-control
[2]https://cloud.google.com/support/docs/issue-trackers
--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/f617a5d2-ff0a-4389-8e78-93e8065339ecn%40googlegroups.com.