Hi Kir.
Thank you for your reply.
I have also looked at using PubSub
pull as an alternative but is it correct that pull requires that the subscriber needs to run in a loop in order to monitor new published messages, i.e. a cronjob in AppEngine? This would then incur additional cost to the project since my AppEngine has to run frequently as pointed out by Jordan
here.
Maybe my use case for using PubSub was weak to begin with since I was just looking into separating my API into two parts. I might as well just have written a simple message queue and used Datastore/SQL for storing new job messages and then installed the worker as a cronjob in Google Cloud. Or spawned a worker thread in the API or something.
Do you know if the upcoming Cloud Tasks
push will have the same firewall issue? At least according to the Task Queue
documentation for the Standard environment it says that "Task Queues and Cron traffic will be allowed by the firewall, even when the default rule is set to deny".
I wish that it was mentioned somewhere in the
documentation that one may run into issues with PubSub when the firewall is in use. It could at least have been mentioned in the
troubleshooting section. It seems to me like a strong reason for looking into an alternative framework.
Thanks and have a nice weekend. :)
/Jack