Skip to content

Commit

Permalink
Added Couchbase Sink Kamelet
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Nov 10, 2021
1 parent 9d9c073 commit ac5e68b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/modules/ROOT/pages/couchbase-sink.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`|
Expand Down Expand Up @@ -62,6 +62,7 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
couchbaseHostname: "The Hostname"
protocol: "The Protocol"
----
Expand All @@ -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.
Expand Down Expand Up @@ -116,6 +117,7 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
couchbaseHostname: "The Hostname"
protocol: "The Protocol"
----
Expand Down Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions templates/bindings/camel-k/couchbase-sink-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ spec:
name: couchbase-sink
properties:
bucket: "The Bucket"
couchbaseHostname: "The Hostname"
protocol: "The Protocol"

1 change: 1 addition & 0 deletions templates/bindings/core/couchbase-sink-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
uri: "kamelet:couchbase-sink"
parameters:
bucket: "The Bucket"
couchbaseHostname: "The Hostname"
protocol: "The Protocol"

0 comments on commit ac5e68b

Please sign in to comment.