| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Google Cloud Pub/Sub is a fully-managed real-time messaging service that allows you to send and receive messages between independent applications. This sample Java application demonstrates how to access the Pub/Sub API using the Google Cloud Client Library for Java.
For more samples, see the samples in google-cloud-java.
Install Maven
Install the Google Cloud SDK and run :
gcloud config set project [YOUR PROJECT ID]
Build your project with:
mvn clean package -DskipTests
Run the tests with Maven.
mvn clean verify
mvn exec:java -Dexec.mainClass=com.example.pubsub.QuickstartSample
| Back | FazBrowse Home | New Git URL |