tJavaStorm Storm properties
These properties are used to configure tJavaStorm running in the Storm Job framework.
The Storm tJavaStorm component belongs to the Custom Code family.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
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. When you create a Spark Job, avoid the reserved word line when naming the fields. |
Built-In: You create and store the schema locally for this component only. |
|
Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and Job designs. |
|
Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
|
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
Usage rule |
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. |