August 15, 2023

tCassandraConnection – Docs for ESB 6.x

tCassandraConnection

Enables the reuse of the connection it creates to a Cassandra server.

tCassandraConnection
opens a connection to a Cassandra server.

tCassandraConnection Standard properties

These properties are used to configure tCassandraConnection running in the Standard Job framework.

The Standard
tCassandraConnection component belongs to the Big Data and the Databases families.

The component in this framework is available when you are using one of the Talend solutions with Big Data.

Basic settings

Property type

Either Built-In or Repository.

Built-In: No property data stored centrally.

Repository: Select the repository file where the
properties are stored.

Use existing connection

Select this check box and in the Component
List
click the relevant connection component to reuse the connection
details you already defined.

DB Version Select the Cassandra version you are using.

API type

This drop-down list is displayed only when you have selected the 2.0 version of Cassandra
from the DB version list. From this API type list, you can either select Datastax to use CQL 3 (Cassandra Query Language) with Cassandra, or select
Hector to use CQL 2.

Note that the Hector API is deprecated for the 2.0 or
later version of Cassandra, but it is still available for use in the Studio so that you can
be flexible about the version of the query language to be used with Cassandra 2.0.0.

Server

Type in the IP address or hostname of the Cassandra server.

Port

Type in the listening port number of the Cassandra
server.

Required authentication

Select this check box to enable the database authentication.

Username

Fill in this field with the username for the Cassandra
authentication.

Password

Fill in this field with the password for the Cassandra
authentication.

To enter the password, click the […] button next to the
password field, and then in the pop-up dialog box enter the password between double quotes
and click OK to save the settings.

Use SSL connection

Select this check box to enable the SSL or TLS encrypted connection.

Then you need to use the tSetKeystore
component in the same Job to specify the encryption information.

For further information about tSetKeystore, see tSetKeystore.

Note that the SSL connection is available only for the version 2.4 + of
MongoDB.

Advanced settings

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at the
Job level as well as at each component level.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
Space
to access the variable list and choose the variable to use from it.

For further information about variables, see
Talend Studio

User Guide.

Usage

Usage rule

This component is generally used with other Cassandra components,
particularly tCassandraClose.

Related scenario

For a scenario in which tCassandraConnection is used,
see Scenario: Handling data with Cassandra.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x