August 15, 2023

tCassandraBulkExec – Docs for ESB 6.x

tCassandraBulkExec

Improves performance during Insert operations to a Cassandra column
family.

The tCassandraOutputBulk and tCassandraBulkExec components are generally used together as parts of a two step
process. In the first step, an SSTable is generated. In the second step, this SSTable is
written into Cassandra. These two steps are fused together in thetCassandraOutputBulkExec component, detailed in a separate section. The
advantage of using two separate components is that the data can be transformed before it is
loaded into Cassandra.

tCassandraBulkExec
writes data from an SSTable into Cassandra.

tCassandraBulkExec Standard properties

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

The Standard
tCassandraBulkExec 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

DB Version

Select the Cassandra version you are using.

Warning:

  • For Cassandra 1.1.2, only local visit on Linux is
    supported.

  • For Cassandra 1.2.2, make sure that the server and the
    client run on the same operating system.

  • Cassandra 2.0.0 only works with JVM1.7.

Host

Hostname or IP address of the Cassandra server.

Port

Listening port number of the Cassandra server.

Required authentication

Select this check box to provide credentials for the Cassandra
authentication.

Warning:

This check box will not appear if you select Cassandra 1.1.2 from theDB Version list.

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 configuration file

Select this check box and in the field that is displayed, enter the path, or browse to
cassandra.yaml, the main configuration file for
Cassandra.

This way, this component can import and directly use the configuration from cassandra.yaml, which can contain many advanced Cassandra
properties, such as the properties for SSL encryption.

When you need to run your Job in different Cassandra environments, this feature allows
your Job to easily switch between the configurations.

For further information about this cassandra.yaml file,
see Cassandra configuration.

Keyspace

Type in the name of the keyspace into which you want to write the
SSTable.

Column family

Type in the name of the column family into which you want to write the
SSTable.

SSTable directory

Specify the local directory of the SSTable to be loaded into
Cassandra. Note that the complete path to the SSTable will be the local
directory appended by the specified keyspace name and column family
name.

For example, if you set the local directory to /home/talend/sstable, and specify testk as the keyspace name and testc as the column family name, the
complete path to the SSTable will be /home/talend/sstable/testk/testc/.

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 can be used as a standalone component.

Limitation

Currently, the execution of this component ends the entire Job.

Related scenarios

No scenario is available for the Standard version of this component yet.


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