Skip to content

Commit 57a43e3

Browse files
committed
update user guide
1 parent a12b0f3 commit 57a43e3

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.readme-partials.yaml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -111,32 +111,7 @@ custom_content: |
111111
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.
112112
113113
#### Installation Instructions
114-
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.
115-
116-
1. Download the datastore private preview package with dependencies:
117-
```
118-
curl -o <path-to-downloaded-jar> https://datastore-sdk-feature-release.web.app/google-cloud-datastore-2.20.0-grpc-experimental-1-SNAPSHOT-jar-with-dependencies.jar
119-
```
120-
2. Run the following commands to install JDK locally:
121-
```
122-
mvn install:install-file -Dfile=<path-to-downloaded-jar> -DgroupId=com.google.cloud -DartifactId=google-cloud-datastore -Dversion=2.20.0-grpc
123-
```
124-
3. Edit your pom.xml to add above package to `<dependencies/>` section:
125-
```xml
126-
<dependency>
127-
<groupId>com.google.cloud</groupId>
128-
<artifactId>google-cloud-datastore</artifactId>
129-
<version>2.20.0-grpc-experimental-1-SNAPSHOT</version>
130-
</dependency>
131-
```
132-
133-
And if you have not yet, add below to `<repositories/>` section:
134-
```xml
135-
<repository>
136-
<id>local-repo</id>
137-
<url>file://${user.home}/.m2/repository</url>
138-
</repository>
139-
```
114+
You'll need to obtain and install the latest google-cloud-datastore SDK.
140115
141116
#### How to Use
142117
To opt-in to the gRPC transport behavior, simply add the below line of code (`setTransportOptions`) to your Datastore client instantiation.

0 commit comments

Comments
 (0)