diff --git a/docs/src/main/asciidoc/funqy-gcp-functions.adoc b/docs/src/main/asciidoc/funqy-gcp-functions.adoc index e2764e3115688..fdd590f748d36 100644 --- a/docs/src/main/asciidoc/funqy-gcp-functions.adoc +++ b/docs/src/main/asciidoc/funqy-gcp-functions.adoc @@ -123,13 +123,13 @@ NOTE: Function return type can also be Mutiny reactive types. this is a convenient class to deserialize a PubSub message. 3. This is a background function that takes as parameter a `io.quarkus.funqy.gcp.functions.event.StorageEvent`, this is a convenient class to deserialize a Google Storage event. -4. This is a cloud events functions, that takes as parameter a `io.cloudevents.CloudEvent`, -inside it the `getData()` method will return the event content, storage event in this case. +4. This is a cloud events function, that takes as parameter a `io.cloudevents.CloudEvent`, +inside it the `getData()` method will return the event content, a storage event in this case. -NOTE: we provide convenience class to deserialize common Google Cloud event inside the `io.quarkus.funqy.gcp.functions.event` package. +NOTE: we provide convenience class to deserialize common Google Cloud events inside the `io.quarkus.funqy.gcp.functions.event` package. They are not mandatory to use, you can use any object you want. -As our project contains multiple function, we need to specify which function needs to be deployed via the following property inside our `application.properties` : +As our project contains multiple functions, we need to specify which function needs to be deployed via the following property inside our `application.properties` : [source,property] ---- @@ -341,7 +341,7 @@ For cloud events functions, you launch the invoker with a target class of `io.qu ---- java -jar java-function-invoker-1.1.0.jar \ --classpath target/funqy-google-cloud-functions-1.0.0-SNAPSHOT-runner.jar \ - --target io.quarkus.funqy.gcp.functions.FunqyBackgroundFunction + --target io.quarkus.funqy.gcp.functions.FunqyCloudEventsFunction ---- IMPORTANT: The `--classpath` parameter needs to be set to the previously packaged JAR that contains your function class and all Quarkus related classes.