| Package | Description | 
|---|---|
| org.apache.storm.mqtt.examples | |
| org.apache.storm.mqtt.mappers | |
| org.apache.storm.mqtt.spout | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CustomMessageMapperGiven a topic name: “users/{user}/{location}/{deviceId}” and a payload of “{temperature}/{humidity}” emits a tuple containing user(String), deviceId(String), location(String), temperature(float), humidity(float) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ByteArrayMessageMapper | 
| class  | StringMessageMapperGiven a String topic and byte[] message, emits a tuple with fields “topic” and “message”, both of which are Strings. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected MqttMessageMapper | MqttSpout. type | 
| Constructor and Description | 
|---|
| MqttSpout(MqttMessageMapper type,
         MqttOptions options) | 
| MqttSpout(MqttMessageMapper type,
         MqttOptions options,
         KeyStoreLoader keyStoreLoader) | 
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.