Google cloud Pub/Sub or MQTT implementation
We are using Google cloud endpoints api to develop our backend service hosted on google app engine. Some of the part of which requires real time interaction with mobile clients. Therefore we had two options either to use Google cloud pub/sub api or implement the upcoming MQTT Protocol using HiveMQ (taking some inspiration from messenger). Google Cloud pub/sub is great but, I am confused on how to integrate it with our endpoints java project which by nature is a soap service hosted on google app engine. Also endpoints are ssl protected, so I am also concerned about the security problem we may encounter by making another way (pub/sub) to connect to our server. Also pub/sub client apis are still in alpha, therefore I doubt using them in our project. For MQTT google app engine does not provide any direct api or service to use mqtt protocol. Therefore we thought of a work around to use any other mqtt broker for instance HiveMQ and run one of the mqtt client on our server and sync data with our database and other client will remain on the mobile devices. Now here we had the same problem of how to integrate it with our existing project and run a mqtt client on app engine, also I am not sure if it is allowed. I am looking on how to proceed with any of these two options. Also trying to figure out which one is better for a quick start. Also I would like to know if someone can tell which protocol is used by Pub/Sub api for making a persistent communication. Is mqtt running behind the scenes ? Some of the resources from where I draw my inspiration are http://www.hivemq.com/blog/mqtt-essentials-part-3-client-broker-connection-establishment https://cloud.google.com/pubsub/docs/reference/service_apis_overview Udacity course on building scalable apps with java (ud859), which explains the process of using endpoints api for building backend api in java.
Cannot reach Endpoint method with cURL
Find the total instance hours in my Google Apps Engine
Cron Jobs on Google App Engine
Golang GAE, aestest.NewContect not working on local machine. Could not find python interpreter
Downloading my existing project in google cloud using Gcloud SDK
Google app engine css not found/deployed
CI for ASP.Net using Jenkins on Google Cloud
Can the GAE Servlet code be accessest by anyone
Is there a way of checking if a Web Application or Website using the Google App Engine?
google endpoints on flex app engine
Deploy to Google App Engine via a GitHub Repo
Using App Engine Datastore over MySQL for a CRM System
Geospatial Query at Google App Engine Datastore
how to put in the top as a ad My website in google?
Google Cloud Datastore vs Cloud SQL
Flow when recording the audio in the client, keeping a copy in the server, process it using Speech API, and returning the text back to the client?