diff --git a/spring-cloud-function-samples/function-sample-gcp-background/README.adoc b/spring-cloud-function-samples/function-sample-gcp-background/README.adoc index c55540acb..c561972a1 100644 --- a/spring-cloud-function-samples/function-sample-gcp-background/README.adoc +++ b/spring-cloud-function-samples/function-sample-gcp-background/README.adoc @@ -57,7 +57,7 @@ You should see the JAR to deploy in the `target/deploy` directory. ---- gcloud functions deploy function-sample-gcp-background \ --entry-point org.springframework.cloud.function.adapter.gcp.GcfJarLauncher \ ---runtime java11 \ +--runtime java17 \ --trigger-topic my-functions-topic \ --source target/deploy \ --memory 512MB @@ -101,4 +101,4 @@ public Consumer pubSubFunction() { System.out.println("Received Pub/Sub message with data: " + decodedMessage); }; } ----- \ No newline at end of file +---- diff --git a/spring-cloud-function-samples/function-sample-gcp-http/README.adoc b/spring-cloud-function-samples/function-sample-gcp-http/README.adoc index a69596070..43a1c422c 100644 --- a/spring-cloud-function-samples/function-sample-gcp-http/README.adoc +++ b/spring-cloud-function-samples/function-sample-gcp-http/README.adoc @@ -33,7 +33,7 @@ Run the following command from the project root to deploy. ---- gcloud functions deploy function-sample-gcp-http \ --entry-point org.springframework.cloud.function.adapter.gcp.GcfJarLauncher \ ---runtime java11 \ +--runtime java17 \ --trigger-http \ --source target/deploy \ --memory 512MB