The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Craig Tiller 07b3d31358 Merge github.com:grpc/grpc into credit 10 years ago
..
README Update README 10 years ago
empty.proto Add missing new-lines at end of file 10 years ago
label.proto Add missing new-lines at end of file 10 years ago
main.cc remove debug bits 10 years ago
publisher.cc Add missing new-lines at end of file 10 years ago
publisher.h Guard headers tool. 10 years ago
publisher_test.cc Merge github.com:grpc/grpc into credit 10 years ago
pubsub.proto clean up some internal path and names 10 years ago
subscriber.cc Add missing new-lines at end of file 10 years ago
subscriber.h Guard headers tool. 10 years ago
subscriber_test.cc Merge github.com:grpc/grpc into credit 10 years ago

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"