Create a MapRStreams data object in Developer tool to add to streaming mappings.
Select a project or folder in the
Object Explorer
view in the Developer tool.
Click
File
New
Data Object
.
Select
MapRStreams
and click
Next
.
The data object dialog box appears.
Enter a name for the data object.
Click
Browse
next to the
Location
option and select the target project or folder.
Click
Browse
next to the
Connection
option and select the MapRStreams connection.
To add a resource, click
Add
next to the
Selected Resources
option.
The
Add Resource
dialog box appears.
To specify a topic pattern for the topic name, in the
Add Resource
dialog box, select
TopicPattern
.
Specify a regular expression pattern for the topic name that you want to read from. Use the regular expression syntax guidelines to specify the pattern.
The following image shows the
cdc_.*
topic pattern:
To verify the topics that match the
cdc_.*
topic pattern, select
Topic
.
The following image shows the topic names that match the
cdc_.*
pattern:
Select the topic pattern that you want to add and click
OK
.
The following image shows the cdc_.* topic pattern selected:
Click
Finish
.
The data object appears under Data Objects in the project or folder in the
Object Explorer
view.
You can create a read data object operation to add in streaming mappings.