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 c1322ed9fc6168f2aa3033b454c1760fe6a2899e Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Nov 10 13:36:29 2021 +0100 Added Couchbase Sink Kamelet --- docs/modules/ROOT/pages/couchbase-sink.adoc | 8 +++++--- templates/bindings/camel-k/couchbase-sink-binding.yaml | 1 + templates/bindings/core/couchbase-sink-binding.yaml | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/modules/ROOT/pages/couchbase-sink.adoc b/docs/modules/ROOT/pages/couchbase-sink.adoc index e5f83a6..2f7d698 100644 --- a/docs/modules/ROOT/pages/couchbase-sink.adoc +++ b/docs/modules/ROOT/pages/couchbase-sink.adoc @@ -15,9 +15,9 @@ 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| | +| *couchbaseHostname {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| | | startingId| Starting Id| The starting id| long| `1`| @@ -62,6 +62,7 @@ spec: name: couchbase-sink properties: bucket: "The Bucket" + couchbaseHostname: "The Hostname" protocol: "The Protocol" ---- @@ -87,7 +88,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.protocol=The Protocol" +kamel bind channel:mychannel couchbase-sink -p "sink.bucket=The Bucket" -p "sink.couchbaseHostname=The Hostname" -p "sink.protocol=The Protocol" ---- This command creates the KameletBinding in the current namespace on the cluster. @@ -116,6 +117,7 @@ spec: name: couchbase-sink properties: bucket: "The Bucket" + couchbaseHostname: "The Hostname" protocol: "The Protocol" ---- @@ -143,7 +145,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.protocol=The Protocol" +kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:my-topic couchbase-sink -p "sink.bucket=The Bucket" -p "sink.couchbaseHostname=The Hostname" -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 d49ad97..4612a8a 100644 --- a/templates/bindings/camel-k/couchbase-sink-binding.yaml +++ b/templates/bindings/camel-k/couchbase-sink-binding.yaml @@ -15,5 +15,6 @@ spec: name: couchbase-sink properties: bucket: "The Bucket" + couchbaseHostname: "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 f26e972..4f8948c 100644 --- a/templates/bindings/core/couchbase-sink-binding.yaml +++ b/templates/bindings/core/couchbase-sink-binding.yaml @@ -9,5 +9,6 @@ uri: "kamelet:couchbase-sink" parameters: bucket: "The Bucket" + couchbaseHostname: "The Hostname" protocol: "The Protocol" \ No newline at end of file
