tMapRStreamsInput
MapR V5.2 onwards is supported by this component.
Depending on the Talend
product you are using, this component can be used in one, some or all of the following
Job frameworks:
-
Standard: see tMapRStreamsInput Standard properties.
The component in this framework is available in all Talend products with Big Data
and in Talend Data Fabric. -
Spark Streaming:
see tMapRStreamsInput properties for Apache Spark Streaming.This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tMapRStreamsInput Standard properties
These properties are used to configure tMapRStreamsInput running in the Standard Job framework.
The Standard
tMapRStreamsInput component belongs to the Internet family.
The component in this framework is available in all Talend products with Big Data
and in Talend Data Fabric.
Basic settings
Schema and Edit |
A schema is a row description. It defines the number of fields Note that the schema of this component is read-only. It stores the |
Output type |
Select the type of the data to be sent to the next component. Typically, using String is recommended, because tMapRStreamsInput can automatically translate the MapR Streams |
Use an existing connection |
Select this check box and from the list displayed select the |
Distribution and |
Select the MapR distribution to be used. Only MapR V5.2 onwards is supported If the distribution you need to use with your MapRDB database is not
|
Topic name |
Enter the name of the topic from which tMapRStreamsInput |
Consumer group ID |
Enter the name of the consumer group to which you want the current consumer (the tMapRStreamsInput component) to belong. This consumer group will be created at runtime if it does not exist at that moment. |
Reset offsets on consumer |
Select this check box to clear the offsets saved for the consumer group to be used so that |
New consumer group starts from |
Select the starting point from which the messages of a topic are consumed. In MapR Streams, the increasing ID number of a message is called offset. When a new consumer group starts, from this list, you can select Note that the consumer group takes into account only the offset-committed messages to Each consumer group has its own counter to remember the position of a message it has
|
Auto-commit offsets |
Select this check box to make tMapRStreamsInput Note that the offsets are committed only at the end of each interval. If your Job stops in |
Stop after a maximum total duration |
Select this check box and in the pop-up field, enter the duration (in milliseconds) at the |
Stop after receiving a maximum number of |
Select this check box and in the pop-up field, enter the maximum number of messages you |
Stop after maximum time waiting between |
Select this check box and in the pop-up field, enter the waiting time (in milliseconds) by |
Advanced settings
Consumer properties |
Add the MapR Streams consumer properties you need to customize to this table. For further information about the consumer properties you can define in this table, see |
Timeout precision(ms) |
Enter the time duration in millisecond at the end of which you want a timeout exception to The value -1 indicates that no timeout is set. |
Load the offset with the |
Select this check box to output the offsets of the consumed messages to the next |
Custom encoding |
You may encounter encoding issues when you process the stored data. In that Select the encoding from the list or select Custom and define it manually. |
tStatCatcher Statistics |
Select this check box to gather the processing metadata at the Job |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component is used as a start component and requires an output |
Prerequisites |
The Hadoop distribution must be properly installed, so as to guarantee the interaction
For further information about how to install a Hadoop distribution, see the manuals |
Related scenarios
No scenario is available for the Standard version of this component yet.
tMapRStreamsInput properties for Apache Spark Streaming
These properties are used to configure tMapRStreamsInput running in the Spark Streaming Job framework.
The Spark Streaming
tMapRStreamsInput component belongs to the Messaging family.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
Basic settings
Schema and Edit |
A schema is a row description. It defines the number of fields Note that the schema of this component is read-only. It stores the |
Output type |
Select the type of the data to be sent to the next component. Typically, using String is recommended, because tMapRStreamsInput can automatically translate the MapR Streams |
Topic name |
Enter the name of the topic from which tMapRStreamsInput |
Starting from |
Select the starting point from which the messages of a topic are consumed. In MapR Streams, the increasing ID number of a message is called offset. When a new consumer group starts, from this list, you can select Note that the consumer group takes into account only the offset-committed messages to Each consumer group has its own counter to remember the position of a message it has
|
Set number of records per second to read from |
Enter this number within double quotation marks to limit the size of each batch to be sent For example, if you put 100 and the batch value you If you leave this check box clear, the component tries to read all the available messages |
Advanced settings
Consumer properties |
Add the MapR Streams consumer properties you need to customize to this table. For further information about the consumer properties you can define in this table, see |
Custom encoding |
You may encounter encoding issues when you process the stored data. In that This encoding is used by tMapRStreamsInput to decode the input messages. |
Usage
Usage rule |
This component is used as a start component and requires an output link. |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Prerequisites |
The Hadoop distribution must be properly installed, so as to guarantee the interaction
For further information about how to install a Hadoop distribution, see the manuals |
Related scenarios
No scenario is available for the Spark Streaming version of this component
yet.