Package | Description |
---|---|
org.apache.storm.mqtt.examples |
MQTT examples.
|
org.apache.storm.mqtt.mappers | |
org.apache.storm.mqtt.spout |
Modifier and Type | Class and Description |
---|---|
class |
CustomMessageMapper
Given 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 |
StringMessageMapper
Given 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 © 2023 The Apache Software Foundation. All rights reserved.