Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a subscriber with PubSub on Google Cloud App Engine that listens to a message via Publisher from a Google Cloud App Engine Flex?

I have a Django Application running on Google App Engine. There is another time consuming application running in Google App Engine Flex that is triggered from the Google App Engine Application.

When the Google App Engine Flex Application finished its execution, I want it to trigger a message and send it to Google App Engine Django Application, so Django can update the database item accordingly.

How can I use Google Cloud PubSub to achieve this?

like image 998
london_utku Avatar asked Dec 05 '25 20:12

london_utku


1 Answers

1.Create a pubsub topic

2.App Engine Flex Application will publish messages to the topic you created

3.Google App Engine Django Application will receive this messages (receiving messages using pull subscriptions or receiving messages using push subscriptions

like image 97
marian.vladoi Avatar answered Dec 08 '25 15:12

marian.vladoi