You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/11/10 12:37:19 UTC

[camel-kamelets] 09/12: Added Couchbase sink Kamelet

This is an automated email from the ASF dual-hosted git repository.

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

commit 82c6bf64d92710c802dca5f84438f3f7325a31b5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 10 13:35:02 2021 +0100

    Added Couchbase sink Kamelet
---
 docs/modules/ROOT/pages/couchbase-sink.adoc            | 10 ++++------
 templates/bindings/camel-k/couchbase-sink-binding.yaml |  1 -
 templates/bindings/core/couchbase-sink-binding.yaml    |  1 -
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/docs/modules/ROOT/pages/couchbase-sink.adoc b/docs/modules/ROOT/pages/couchbase-sink.adoc
index 6644d33..e5f83a6 100644
--- a/docs/modules/ROOT/pages/couchbase-sink.adoc
+++ b/docs/modules/ROOT/pages/couchbase-sink.adoc
@@ -15,11 +15,11 @@ The following table summarizes the configuration options available for the `couc
 |===
 | Property| Name| Description| Type| Default| Example
 | *bucket {empty}* *| Bucket| The bucket to use| string| | 
-| *hostname {empty}* *| Hostname| The hostname to use| string| | 
 | *protocol {empty}* *| Protocol| The protocol to use| string| | 
 | autoStartId| Auto Start Id| Auto Start Id or not| boolean| `true`| 
+| couchbaseHostname| Hostname| The hostname to use| string| | 
+| couchbasePort| Port| The port to use| int| `8091`| 
 | password| Password| Password to connect to Couchbase.| string| | 
-| port| Port| The port to use| int| `8091`| 
 | startingId| Starting Id| The starting id| long| `1`| 
 | username| Username| Username to connect to Couchbase.| string| | 
 |===
@@ -62,7 +62,6 @@ spec:
       name: couchbase-sink
     properties:
       bucket: "The Bucket"
-      hostname: "The Hostname"
       protocol: "The Protocol"
   
 ----
@@ -88,7 +87,7 @@ Configure and run the sink by using the following command:
 
 [source,shell]
 ----
-kamel bind channel:mychannel couchbase-sink -p "sink.bucket=The Bucket" -p "sink.hostname=The Hostname" -p "sink.protocol=The Protocol"
+kamel bind channel:mychannel couchbase-sink -p "sink.bucket=The Bucket" -p "sink.protocol=The Protocol"
 ----
 
 This command creates the KameletBinding in the current namespace on the cluster.
@@ -117,7 +116,6 @@ spec:
       name: couchbase-sink
     properties:
       bucket: "The Bucket"
-      hostname: "The Hostname"
       protocol: "The Protocol"
   
 ----
@@ -145,7 +143,7 @@ Configure and run the sink by using the following command:
 
 [source,shell]
 ----
-kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic couchbase-sink -p "sink.bucket=The Bucket" -p "sink.hostname=The Hostname" -p "sink.protocol=The Protocol"
+kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic couchbase-sink -p "sink.bucket=The Bucket" -p "sink.protocol=The Protocol"
 ----
 
 This command creates the KameletBinding in the current namespace on the cluster.
diff --git a/templates/bindings/camel-k/couchbase-sink-binding.yaml b/templates/bindings/camel-k/couchbase-sink-binding.yaml
index e4ea102..d49ad97 100644
--- a/templates/bindings/camel-k/couchbase-sink-binding.yaml
+++ b/templates/bindings/camel-k/couchbase-sink-binding.yaml
@@ -15,6 +15,5 @@ spec:
       name: couchbase-sink
     properties:
       bucket: "The Bucket"
-      hostname: "The Hostname"
       protocol: "The Protocol"
   
\ No newline at end of file
diff --git a/templates/bindings/core/couchbase-sink-binding.yaml b/templates/bindings/core/couchbase-sink-binding.yaml
index 3977405..f26e972 100644
--- a/templates/bindings/core/couchbase-sink-binding.yaml
+++ b/templates/bindings/core/couchbase-sink-binding.yaml
@@ -9,6 +9,5 @@
           uri: "kamelet:couchbase-sink"
           parameters:
             bucket: "The Bucket"
-            hostname: "The Hostname"
             protocol: "The Protocol"
     
\ No newline at end of file