couchbase

A “couchbase” source connects to a Couchbase database.

About

A couchbase source establishes a connection to a Couchbase database cluster, allowing tools to execute SQL queries against it.

Available Tools

  • couchbase-sql
    Run SQL++ statements on Couchbase with parameterized input.

Example

sources:
    my-couchbase-instance:
        kind: couchbase
        connectionString: couchbase://localhost
        bucket: travel-sample
        scope: inventory
        username: Administrator
        password: password

Note

For more details about alternate addresses and custom ports refer to Managing Connections.

Reference

fieldtyperequireddescription
kindstringtrueMust be “couchbase”.
connectionStringstringtrueConnection string for the Couchbase cluster.
bucketstringtrueName of the bucket to connect to.
scopestringtrueName of the scope within the bucket.
usernamestringfalseUsername for authentication.
passwordstringfalsePassword for authentication.
clientCertstringfalsePath to client certificate file for TLS authentication.
clientCertPasswordstringfalsePassword for the client certificate.
clientKeystringfalsePath to client key file for TLS authentication.
clientKeyPasswordstringfalsePassword for the client key.
caCertstringfalsePath to CA certificate file.
noSslVerifybooleanfalseIf true, skip server certificate verification. Warning: This option should only be used in development or testing environments. Disabling SSL verification poses significant security risks in production as it makes your connection vulnerable to man-in-the-middle attacks.
profilestringfalseName of the connection profile to apply.
queryScanConsistencyintegerfalseQuery scan consistency. Controls the consistency guarantee for index scanning. Values: 1 for “not_bounded” (fastest option, but results may not include the most recent operations), 2 for “request_plus” (highest consistency level, includes all operations up until the query started, but incurs a performance penalty). If not specified, defaults to the Couchbase Go SDK default.