AWS IOT Emitter

The AWS IOT emiter allows you to push data on AWS IOT Topics on MQTT client.

AWS IOT Emitter Configuration

To add an AWS IOT emitter to your pipeline, drag the emitter onto the canvas and connect it to a Data Source or processor.

FieldDescription
Connection NameAll connections will be listed here. Select a connection for connecting to AWS IOT.
IOT Topic NameName of the IOT Topic where data will be published.
Message TimeoutThe timeout duration for messages.
Output FormatDatatype format of the output.
Output FieldsFields in the message that needs to be a part of the output data.
Checkpoint Storage LocationSelect the checkpointing storage location. Available options are HDFS, S3, and EFS.
Checkpoint ConnectionsSelect the connection. Connections are listed corresponding to the selected storage location.
Checkpoint Directory

It is the path where Spark Application stores the checkpointing data.

For HDFS and EFS, enter the relative path like /user/hadoop/, checkpointingDir system will add suitable prefix by itself.

For S3, enter an absolute path like: S3://BucketName/checkpointingDir

Output Mode

Output mode to be used while writing the data to Streaming emitter. Select the output mode from the given three options:

Append: Output Mode in which only the new rows in the streaming data will be written to the sink

Complete Mode: Output Mode in which all the rows in the streaming data will be written to the sink every time there are some updates

Update Mode: Output Mode in which only the rows that were updated in the streaming data will be written to the sink every time there are some updates.

Enable TriggerTrigger defines how frequently a streaming query should be executed.
Processing TimeIt will appear only when Enable Trigger checkbox is selected. Processing Time is the trigger time interval in minutes or seconds.
Add ConfigurationEnables to configure additional properties.

Click on the Next button. Enter the notes in the space provided.

Click on the DONE button for saving the configuration.

Top