e04ed9c211
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
58 lines
7.5 KiB
Markdown
58 lines
7.5 KiB
Markdown
---
|
|
title: "Couchbase Source"
|
|
linkTitle: "Source"
|
|
type: docs
|
|
weight: 1
|
|
description: >
|
|
A "couchbase" source connects to a Couchbase database.
|
|
no_list: true
|
|
---
|
|
|
|
## About
|
|
|
|
A `couchbase` source establishes a connection to a Couchbase database cluster,
|
|
allowing tools to execute SQL queries against it.
|
|
|
|
|
|
|
|
## Available Tools
|
|
|
|
{{< list-tools >}}
|
|
|
|
## Example
|
|
|
|
```yaml
|
|
kind: source
|
|
name: my-couchbase-instance
|
|
type: couchbase
|
|
connectionString: couchbase://localhost
|
|
bucket: travel-sample
|
|
scope: inventory
|
|
username: Administrator
|
|
password: password
|
|
```
|
|
|
|
{{< notice note >}}
|
|
For more details about alternate addresses and custom ports refer to [Managing
|
|
Connections](https://docs.couchbase.com/java-sdk/current/howtos/managing-connections.html).
|
|
{{< /notice >}}
|
|
|
|
## Reference
|
|
|
|
| **field** | **type** | **required** | **description** |
|
|
|----------------------|:--------:|:------------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| type | string | true | Must be "couchbase". |
|
|
| connectionString | string | true | Connection string for the Couchbase cluster. |
|
|
| bucket | string | true | Name of the bucket to connect to. |
|
|
| scope | string | true | Name of the scope within the bucket. |
|
|
| username | string | false | Username for authentication. |
|
|
| password | string | false | Password for authentication. |
|
|
| clientCert | string | false | Path to client certificate file for TLS authentication. |
|
|
| clientCertPassword | string | false | Password for the client certificate. |
|
|
| clientKey | string | false | Path to client key file for TLS authentication. |
|
|
| clientKeyPassword | string | false | Password for the client key. |
|
|
| caCert | string | false | Path to CA certificate file. |
|
|
| noSslVerify | boolean | false | If 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. |
|
|
| profile | string | false | Name of the connection profile to apply. |
|
|
| queryScanConsistency | integer | false | Query 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. |
|