tJavaStorm - 6.1

Talend Components Reference Guide

EnrichVersion
6.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

Warning

This component will be available in the Palette of Talend Studio on the condition that you have subscribed to one of the Talend solutions with Big Data.

tJavaStorm properties

Component family

Custom Code

 

Function

tJavaStorm allows you to enter the custom Storm code you want to use in the Storm topology you are designing. You can execute this code only once.

This component appears only when you are creating a Storm Job.

Purpose

tJavaStorm makes it possible to extend the functionalities of a Talend Job through writing custom execute method of the bolt to be used. A bolt is the worker that accomplishes any processing in a topology.

Basic settings

Schema and Edit Schema

A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. The schema is either Built-In or stored remotely in the Repository.

  

Built-In: You create and store the schema locally for this component only. Related topic: see Talend Studio User Guide.

  

Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and Job designs. Related topic: see Talend Studio User Guide.

  

Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this option to view the schema only.

  • Change to built-in property: choose this option to change the schema to Built-in for local changes.

  • Update repository connection: choose this option to change the schema stored in the repository and decide whether to propagate the changes to all the Jobs upon completion. If you just want to propagate the changes to the current Job, you can select No upon completion and choose this schema metadata again in the [Repository Content] window.

 

Bolt code

Enter the body of the main method of the bolt you want to execute.

Advanced settings

Bolt advanced code

This area allows you to define the classes, variables and methods that you want to use along with the execute method of the bolt defined in the Basic settings view. Note that the advanced code is not required for using tJavaStorm.

Two fields are available for this purpose:

Implement the prepare code: select this check box and in the displayed field, define the prepare method to set up the environment in which the bolt is executed.

Implement the cleanup method: select this check box and in the displayed field, define the cleanup method you want to use to finalize a topology.

Usage

Once a Storm Job is opened in the workspace, tJavaStorm appears in the Palette of the Studio. It is used as an intermediate step in a Storm Job.

Note that in this documentation, unless otherwise explicitly stated, a scenario presents only Standard Jobs, that is to say traditional Talend data integration Jobs.

Storm Connection

You need to use the Storm Configuration tab in the Run view to define the connection to a given Storm system for the whole Job.

This connection is effective on a per-Job basis.

Related scenario

For a related scenario, see Scenario: analyzing people's activities using a Storm topology.