Adding an Output Operator
An output produces and publishes streams towards a Kafka topic or a data consumer.
- On the Application page, click
and select Output in the Add Operator pane.
The Output node
iicon displays in the Graph pane, as well as the properties to be defined in the Operator Settings pane, and the preview of the data in the Schema pane.
The left (inbound) edge allows you to select the input source or operator.
- In the Operator Settings pane, define or select the following required properties:
Property Description Node ID
The ID of the output operator.
Topic
The stream of records or output you will be subscribed to.
Select the Use Node ID check box to use the value entered in the Output ID. Otherwise, uncheck the box and enter a new Topic ID.
When adding Topic IDs, ensure they:
-
Must be unique across an application
-
Must be specified
-
Must start with a letter (a to Z) or an underscore. Also, it can only contain letters (a to Z), numbers (0 to 9), and underscores
Partition Count
Enter the number of partitions for the Kafka topics that will be created for the Output operator.
Partitions allow you to parallelize a topic by splitting the data in a particular topic across multiple brokers wherein, each partition can be placed on a separate machine to allow for multiple consumers to read from a topic in parallel.
Inputs
The left input stream automatically connects to the currently-selected operator. You can select another ID of the operator that will be the source of the data in the Inputs drop-down list.
The preview of the data (INPUT) is displayed in the Schema pane.
Data Consumer
Select the Data Consumer where the output will be produced or published.
Currently, the following data consumers are supported:
-
Text
-
JDBC databases
-
InfluxDB 1.x
-
Email
-
Kd kdb+
-
Rest
-
Apache Kafka
-
- Save the changes.
(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.