Setup tab

Pentaho Data Integration

Version
9.3.x
Audience
anonymous
Part Number
MK-95PDIA003-15

In the Setup tab, define the connection to the MQTT server, the topics for publishing, Quality of Service level, and the Message field:

Option Description
Connection Specify the address of the MQTT server to which this step will connect for sending or receiving messages.
Client ID Specify a unique ID for the MQTT client. The MQTT server uses this Client ID to recognize each distinct client and that client's current state.
Topic

Specify the Topic name using one of the following methods:

  • Select Specify topic to enter a specific Topic name. Then, in the Topic name field, enter the name of the MQTT topic to which you want to publish streaming data (messages). Each MQTT Producer step will start a single thread for publishing.
  • Select Get data from field to specify a Topic name based on a field from another step which is generating rows in the same transformation stream. Using the dropdown list, then select the name of the field you want to use. You can use this option to dynamically control setting the value for the Topic name. Each individual message will still have only one topic, but each row coming into the MQTT Producer step will generate a new message with a potentially different topic.
Quality of Service (QoS)
Quality of Service (QoS) is a level of guarantee for message delivery. Select one of the following options.
  • At most once (0), which is the default value
  • At least once (1)
  • Exactly once (2)
Message Field Select the individual record contained in a topic that you want to send.