# tMap properties for Apache Spark Structured Streaming

[Preview](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/feature-preview-program-overview.htm)

Use these properties to configure tMap running in the Spark Structured Streaming Job framework.

The Spark Structured Streaming tMap component belongs to the Processing family.

This component is available in Talend Real-Time Big Data Platform and Talend Data Fabric.

## Basic settings

| Properties | Description |
| --- | --- |
| Map editor | Use the map editor to define the tMap<br>routing and transformation properties.<br><br>When you click the Property Settings<br>button at the top of the input area, a Property<br>Settings dialog box is displayed in which you can set the<br>following parameters:<br><br><ul> <li> <p>If you do not want to handle execution errors, select the                <span>Die on error </span>check box                (selected by default). It will kill the Job if there is an                error.</p> </li> <li> <p>To maximize the data transformation performance in a Job that                handles multiple lookup input flows with large amounts of data,                you can select the <span>Lookup in                    parallel</span> check box.</p> </li> <li> <p> <span>Temp data directory path</span>: enter the path where you          want to store the temporary data generated for lookup loading. For more information on          this folder, see <a href="https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/solving-memory-limitation-issues-in-tmap-use" target="_blank">Solving memory limitation issues in tMap use</a>.</p> </li> <li> <p>Max buffer size (nb of rows): enter the size of physical                memory, in number of rows, you want to allocate to processed                data.</p> </li> </ul> |
| Mapping links display as | Select how mapping links are displayed:<br><br><ul> <li><span>Auto</span>: the default setting displays                        links as curves.</li> <li><span>Curves</span>: the mapping displays as                        curves.</li> <li><span>Lines</span>: the mapping displays as                        straight lines. The Lines option can slightly improve performance.</li> </ul> |
| Use replicated join (when all lookup tables can fit in memory) | Select this check box to perform a replicated join between the input flows.<br>By replicating each lookup table into memory, this type of join does not require an<br>additional shuffle-and-sort step, thus speeding up the whole process.<br><br>Ensure that all lookup tables fit in memory. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component is used as an intermediate step.<br><br>This component, along with the Spark Structured Streaming component Palette it belongs to,<br>appears only when you are creating a Spark Structured Streaming Job.<br><br>Note that in this documentation, unless otherwise explicitly stated, a scenario presents<br>only Standard Jobs, that is to say traditional<br>Talend<br>data<br>integration Jobs. |
| Spark Connection | You need to use the Structured Streaming Configuration<br>tab in the Run view to define the connection to a Spark cluster for<br>the whole Job.<br><br>This connection is effective on a per-Job basis. |