couchbase sink Couchbase Sink

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Send documents to Couchbase.

Configuration Options

The following table summarizes the configuration options available for the couchbase-sink Kamelet:

Property Name Description Type Default Example

bucket

Bucket

Required The bucket to use.

string

couchbaseHostname

Hostname

Required The hostname to use.

string

protocol

Protocol

Required The protocol to use.

string

autoStartId

Auto Start Id

Auto Start Id or not.

boolean

true

couchbasePort

Port

The port to use.

integer

8091

password

Password

Password to connect to Couchbase.

string

startingId

Starting Id

The starting id.

integer

1

username

Username

Username to connect to Couchbase.

string

Dependencies

At runtime, the couchbase-sink Kamelet relies upon the presence of the following dependencies:

  • camel:couchbase

  • camel:kamelet

Camel JBang usage

Prerequisites

  • You’ve installed JBang.

  • You have executed the following command:

jbang app install camel@apache/camel

Supposing you have a file named route.yaml with this content:

- route:
    from:
      uri: "kamelet:timer-source"
      parameters:
        period: 10000
        message: 'test'
      steps:
        - to:
            uri: "kamelet:couchbase-sink"

You can now run it directly through the following command

camel run route.yaml