grpc/examples/pubsub
Yang Gao 91cc48160a Merge remote-tracking branch 'upstream/master' into pubsub 2015-03-02 15:19:25 -08:00
..
README Update README 2015-02-25 11:45:05 -08:00
empty.proto Add missing new-lines at end of file 2015-02-18 09:25:21 -08:00
label.proto Add missing new-lines at end of file 2015-02-18 09:25:21 -08:00
main.cc remove debug bits 2015-02-27 14:31:02 -08:00
publisher.cc Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
publisher.h Guard headers tool. 2015-03-01 06:18:14 +01:00
publisher_test.cc Make it possible to compile with gcc4.6 2015-02-26 14:27:05 -08:00
pubsub.proto clean up some internal path and names 2015-02-20 13:04:52 -08:00
subscriber.cc Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
subscriber.h Guard headers tool. 2015-03-01 06:18:14 +01:00
subscriber_test.cc Make it possible to compile with gcc4.6 2015-02-26 14:27:05 -08:00

README

Experimental example code, likely to change.
Users should not attempt to run this code till this warning is removed.

C++ Client implementation for Cloud Pub/Sub service
(https://developers.google.com/apis-explorer/#p/pubsub/v1beta1/).

"Google Cloud Pub/Sub" API needs to be enabled at
https://console.developers.google.com/project to open the access for a client. 
Select the project name, select the "APIs" under "APIs & auth", and turn
on "Google Cloud Pub/Sub" API. 

To run the client from Google Compute Engine (GCE), the GCE instance needs to
be created with scope "https://www.googleapis.com/auth/cloud-platform" as below:

gcloud compute instances create instance-name 
    --image debian-7 --scopes https://www.googleapis.com/auth/cloud-platform


To run the client:
make pubsub_client
bins/opt/pubsub_client --project_id="your project id"