User Guide > Connections > MapRStreams Connection
  

MapRStreams Connection

The MapRStreams connection is a Messaging connection. Use the MapRStreams connection to access MapRStreams as source or target. You can create and manage a MapRStreams connection in the Developer tool or through infacmd.
When you configure an MapRStreams connection, you configure the path to the MapR Stream and the name of the MapR Stream.
Before you create and use MapRStreams connections in Streaming mappings, complete the required prerequisites. For more information about the prerequisite tasks, see the Informatica Big Data Management Cluster Integration Guide.

General Properties

The following table describes the general connection properties for the MapRStreams connection:
Property
Description
Name
The name of the connection. The name is not case sensitive and must be unique within the domain. You can change this property after you create the connection. The name cannot exceed 128 characters, contain spaces, or contain the following special characters:
~ ` ! $ % ^ & * ( ) - + = { [ } ] | \ : ; " ' < , > . ? /
ID
The string that the Data Integration Service uses to identify the connection. The ID is not case sensitive. It must be 255 characters or less and must be unique in the domain. You cannot change this property after you create the connection. Default value is the connection name.
Description
The description of the connection. Enter a string that you can use to identify the connection. The description cannot exceed 4,000 characters.
Location
The domain where you want to create the connection. Select the domain name.
Type
The connection type. Select Messaging/MapRStreams.

Connection Properties

The following table describes the connection properties for the MapRStreams connection:
Property
Description
Stream Path and Name
The path that contains the MapR Stream and the name of the MapR Stream.
Use the following format:
/stream-path:stream-name
Connection Timeout (in msec)
Number of milliseconds that the Integration service waits to establish a connection to MapR Stream after which it times out.

Creating a MapRStreams Connection using Informatica Command Line Program

You can use the infacmd command line program to create a MapRStreams connection. Access the command from the <Informatica installation directory>/clients/DeveloperClient/infacmd directory.
On UNIX, run the following command:
sh infacmd.sh createConnection
On Windows, run the following command:
infacmd.bat createConnection
Enter connection options in the following format:
... -o option_name='value' option_name='value' ...
For example, run the following command to create a MapRStreams connection on UNIX:
infacmd createConnection -dn <domain name> -un <domain user> -pd<password> -cn <connection name> -cid <connection id> -ct MAPRSTREAMS -o connRetryTimeout=10000 streamName=/sample-stream
For more information about the CreateConnection command, see the Informatica Command Reference Guide.