diff --git a/.kokoro/build.sh b/.kokoro/build.sh index f77424b4f..4d39bae8f 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -75,6 +75,7 @@ integration) mvn -B ${INTEGRATION_TEST_ARGS} \ -ntp \ + -Dprotobuf.version=4.31.0-RC1 \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ diff --git a/.readme-partials.yaml b/.readme-partials.yaml index 3e8d3a465..a6afbfd20 100644 --- a/.readme-partials.yaml +++ b/.readme-partials.yaml @@ -108,35 +108,10 @@ custom_content: | gRPC Java Datastore Client User Guide ------- - 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. + 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 - - ``` + To use this feature, please upgrade your Java-datastore SDK to version v2.28.0 or a newer release. You can find the latest versions [here](https://github.com/googleapis/java-datastore/releases). #### How to Use To opt-in to the gRPC transport behavior, simply add the below line of code (`setTransportOptions`) to your Datastore client instantiation. diff --git a/README.md b/README.md index d94fcb890..9fcbdbba3 100644 --- a/README.md +++ b/README.md @@ -206,35 +206,10 @@ display on your webpage. gRPC Java Datastore Client User Guide ------- -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. +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 - - ``` +To use this feature, please upgrade your Java-datastore SDK to version v2.28.0 or a newer release. You can find the latest versions [here](https://github.com/googleapis/java-datastore/releases). #### How to Use To opt-in to the gRPC transport behavior, simply add the below line of code (`setTransportOptions`) to your Datastore client instantiation.