Cloud Spanner is a fully managed, mission-critical, relational database service that offers transactional consistency at global scale, schemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication for high availability.
Be sure to activate the Cloud Spanner API on the Developer's Console to use Cloud Spanner from your project.
See the Spanner client lib docs to learn how to interact with Cloud Spanner using this Client Library.
Please refer to the getting started guide.
See the Authentication section in the base directory's README.
$ mvn clean package
$ mvn exec:java -Dexec.mainClass=com.example.spanner.App
Go to http://localhost:8080/spanner/ and, start sending read request.
The ocagent
can be run directly from sources, binary, or a Docker image. Here will try from the sources.
Open up a new shell to get the OpenCensus agent
git clone https://github.com/census-instrumentation/opencensus-service.git && cd opencensus-service
make agent
which will place the binary in the bin folder in your current working directory
./bin/ocagent_darwin --config=/conf/config.yaml