How to keep App Engine Servlet Listening to Firebase

后端 未结 2 563
北恋
北恋 2021-01-06 01:22

I am following the tutorial at: https://cloud.google.com/solutions/mobile/firebase-app-engine-android-studio

I have everything working and the email is sending every

2条回答
  •  孤城傲影
    2021-01-06 01:36

    Your question is actually a question about AppEngine and how to create a Servlet that starts automatically and automatically performs some initialization.

    You will want to keep manual scaling on, but follow the steps here: https://cloud.google.com/appengine/docs/java/config/appconfig#using_a_load-on-startup_servlet

    for setting up your listeners on init() instead of an http request. What you are trying is definitely possible and have seen it run elsewhere.

提交回复
热议问题