[camel-kamelets] 04/11: Added Google Cloud Functions Sink Kamelet - Docs

2021-12-17 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 3390669485a7b990dd4021018d93cb64ad109cc3
Author: Andrea Cosentino 
AuthorDate: Fri Dec 17 18:21:06 2021 +0100

Added Google Cloud Functions Sink Kamelet - Docs
---
 .../images/kamelets/google-functions-sink.svg  |   1 +
 docs/modules/ROOT/pages/google-functions-sink.adoc | 156 +
 2 files changed, 157 insertions(+)

diff --git a/docs/modules/ROOT/assets/images/kamelets/google-functions-sink.svg 
b/docs/modules/ROOT/assets/images/kamelets/google-functions-sink.svg
new file mode 100644
index 000..449dd6e
--- /dev/null
+++ b/docs/modules/ROOT/assets/images/kamelets/google-functions-sink.svg
@@ -0,0 +1 @@
+http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>https://strimzi.io/[Strimzi].
+* You've created a topic named `my-topic` in the current namespace.
+* You have 
xref:{camel-k-version}@camel-k::installation/installation.adoc[Camel K 
installed] on the cluster.
+
+ *Procedure for using the cluster CLI*
+
+. Save the `google-functions-sink-binding.yaml` file to your local drive, and 
then edit it as needed for your configuration.
+
+. Run the sink by using the following command:
++
+[source,shell]
+
+kubectl apply -f google-functions-sink-binding.yaml
+
+
+ *Procedure for using the Kamel CLI*
+
+Configure and run the sink by using the following command:
+
+[source,shell]
+
+kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic google-functions-sink 
-p "sink.functionName=The Function Name" -p "sink.projectId=The Project Id" -p 
"sink.serviceAccountKey=The Service Account Key"
+
+
+This command creates the KameletBinding in the current namespace on the 
cluster.
+
+== Kamelet source file
+
+https://github.com/apache/camel-kamelets/blob/main/kamelets/google-functions-sink.kamelet.yaml
+
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT


[camel-kamelets] 04/11: Added Google Cloud Functions Sink Kamelet - Docs

2021-12-17 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch gcp-functions
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit a9973f87b3355737ef982b70cdc5b9938836d2cd
Author: Andrea Cosentino 
AuthorDate: Fri Dec 17 18:21:06 2021 +0100

Added Google Cloud Functions Sink Kamelet - Docs
---
 .../images/kamelets/google-functions-sink.svg  |   1 +
 docs/modules/ROOT/pages/google-functions-sink.adoc | 156 +
 2 files changed, 157 insertions(+)

diff --git a/docs/modules/ROOT/assets/images/kamelets/google-functions-sink.svg 
b/docs/modules/ROOT/assets/images/kamelets/google-functions-sink.svg
new file mode 100644
index 000..449dd6e
--- /dev/null
+++ b/docs/modules/ROOT/assets/images/kamelets/google-functions-sink.svg
@@ -0,0 +1 @@
+http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>https://strimzi.io/[Strimzi].
+* You've created a topic named `my-topic` in the current namespace.
+* You have 
xref:{camel-k-version}@camel-k::installation/installation.adoc[Camel K 
installed] on the cluster.
+
+ *Procedure for using the cluster CLI*
+
+. Save the `google-functions-sink-binding.yaml` file to your local drive, and 
then edit it as needed for your configuration.
+
+. Run the sink by using the following command:
++
+[source,shell]
+
+kubectl apply -f google-functions-sink-binding.yaml
+
+
+ *Procedure for using the Kamel CLI*
+
+Configure and run the sink by using the following command:
+
+[source,shell]
+
+kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic google-functions-sink 
-p "sink.functionName=The Function Name" -p "sink.projectId=The Project Id" -p 
"sink.serviceAccountKey=The Service Account Key"
+
+
+This command creates the KameletBinding in the current namespace on the 
cluster.
+
+== Kamelet source file
+
+https://github.com/apache/camel-kamelets/blob/main/kamelets/google-functions-sink.kamelet.yaml
+
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT