-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chen Wang
committed
Feb 3, 2015
1 parent
4428596
commit 4402b70
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
C++ Client implementation for Cloud Pub/Sub service (TIPS) | ||
(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 from GCE: | ||
make tips_client | ||
bins/opt/tips_client | ||
|
||
A service account credential is required to run the client from other | ||
environments, which can be generated as a JSON key file from | ||
https://console.developers.google.com/project/. To run the client with a service | ||
account credential: | ||
|
||
bins/opt/tips_client | ||
--service_account_key_file="absolute path to the JSON key file" | ||
--project_id="your project id" | ||
|
||
|
||
|
||
|