Define the connection metadata to your Couchbase cluster in the Repository of the Studio.
You can then reuse this connection metadata in your Jobs running with Couchbase, without having to manually configure this connection in each Job.
Centralizing the connection metadata is recommended, as this allows you to easily manage the connections to your clusters.
Before you begin
- In the Repository tree view in the Integration perspective of your Studio, expand Metadata and right-click the Couchbase node under it to open the contextual menu.
- Click Create Couchbase Connection to open the related wizard.
In the connection wizard, enter the general properties of the connection you
need to create, such as Name,
Purpose and Description.
The information you fill in the Description field will appear as a tooltip when you move your mouse pointer over the connection.
Once done, click Next to proceed to the next step.
Enter the properties required for the Couchbase connection.
Enter the name or IP of the node to be bootstrapped by Couchbase SDK. As Couchbase recommends to specify multiple nodes to bootstrap, enter the names or IPs of these nodes in this field, separating them using commas (,).
For further information about Couchbase bootstrapping, see How Couchbase SDKs connect to the cluster.
You can find the node names on the Servers page in your Couchbase Web Console. If you need further information, contact the administrator of your Couchbase cluster or consult your Couchbase documentation.
Note that the Couchbase servers do not support proxies; for this reason, the Couchbase components from Talend do not support proxies either.
Username and Password
Provide the authentication credentials to your Couchbase cluster.
To enter the password, click the [...] button next to the password field, enter the password in double quotes in the pop-up dialog box, and click OK to save the settings.
If you are using Couchbase V5.0 and onwards, enter the same value you put in the Bucket field as password, because since Couchbase V5.0, no password is associated with a bucket. However, on Couchbase, you need to create a user with appropriate role to access the buckets.
For further information about the access control and other important requirements on the Couchbase side, see Couchbase release note of your version.
- Click Check connection to verify the configuration. If the configuration is correct, a dialog box appears to say the connection is successful.
Click Finish to validate this configuration.
This new Couchbase connection appears under the Couchbase node in the Repository tree view. You can now drop it onto your design workspace as a Couchbase component. But you can furthermore add the connection to a specific bucket in your Couchbase cluster. This helps you centralize and manage the connections to the datasets in your Couchbase cluster.
- Right-click this Couchbase connection to display the contextual menu.
- Click Create Couchbase Dataset to display the related wizard.
- Enter the general properties that describe the connection to the dataset, that is to say, the Couchbase bucket to be used.
- Click Next to pass to the second step and in the Bucket field, enter the name of the bucket to be connected.
Click Finish to validate this connection.
This new bucket connection appears under the Couchbase connection under the Couchbase node. When you drop it on the design workspace as a Couchbase component, the Couchbase connection fields and the Bucket field are pre-filled automatically.