diff --git a/.readme-partials.yaml b/.readme-partials.yaml index 3e8d3a465..6cb86c2b2 100644 --- a/.readme-partials.yaml +++ b/.readme-partials.yaml @@ -111,32 +111,7 @@ custom_content: | In this feature launch, the [Java Datastore client](https://github.com/googleapis/java-datastore) now offers gRPC as a transport layer option with experimental support. Using [gRPC connection pooling](https://grpc.io/docs/guides/performance/) enables distributing RPCs over multiple connections which may improve performance. #### Installation Instructions - The client can be built from the `grpc-experimental` branch on GitHub. For private preview, you can also download the artifact with the instructions provided below. - - 1. Download the datastore private preview package with dependencies: - ``` - curl -o https://datastore-sdk-feature-release.web.app/google-cloud-datastore-2.20.0-grpc-experimental-1-SNAPSHOT-jar-with-dependencies.jar - ``` - 2. Run the following commands to install JDK locally: - ``` - mvn install:install-file -Dfile= -DgroupId=com.google.cloud -DartifactId=google-cloud-datastore -Dversion=2.20.0-grpc - ``` - 3. Edit your pom.xml to add above package to `` section: - ```xml - - com.google.cloud - google-cloud-datastore - 2.20.0-grpc-experimental-1-SNAPSHOT - - ``` - - And if you have not yet, add below to `` section: - ```xml - - local-repo - file://${user.home}/.m2/repository - - ``` + You'll need to obtain and install the latest google-cloud-datastore SDK. #### How to Use To opt-in to the gRPC transport behavior, simply add the below line of code (`setTransportOptions`) to your Datastore client instantiation.