object MqttFlow
- Alphabetic
- By Inheritance
- MqttFlow
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def atLeastOnce(settings: MqttConnectionSettings, subscriptions: MqttSubscriptions, bufferSize: Int, defaultQos: MqttQoS): Flow[MqttMessage, MqttMessageWithAck, CompletionStage[Done]]
Create a flow to send messages to MQTT AND subscribe to MQTT messages with a commit handle to acknowledge message reception.
Create a flow to send messages to MQTT AND subscribe to MQTT messages with a commit handle to acknowledge message reception.
The materialized value completes on successful connection to the MQTT broker.
- bufferSize
max number of messages read from MQTT before back-pressure applies
- defaultQos
Quality of service level applied for messages not specifying a message specific value
- def atLeastOnceWithAck(settings: MqttConnectionSettings, subscriptions: MqttSubscriptions, bufferSize: Int, defaultQos: MqttQoS): Flow[MqttMessageWithAck, MqttMessageWithAck, CompletionStage[Done]]
Create a flow to send messages to MQTT , send acknowledge AND subscribe to MQTT messages with a commit handle to acknowledge message reception.
Create a flow to send messages to MQTT , send acknowledge AND subscribe to MQTT messages with a commit handle to acknowledge message reception.
The materialized value completes on successful connection to the MQTT broker.
- bufferSize
max number of messages read from MQTT before back-pressure applies
- defaultQos
Quality of service level applied for messages not specifying a message specific value
- def atMostOnce(settings: MqttConnectionSettings, subscriptions: MqttSubscriptions, bufferSize: Int, defaultQos: MqttQoS): Flow[MqttMessage, MqttMessage, CompletionStage[Done]]
Create a flow to send messages to MQTT AND subscribe to MQTT messages (without a commit handle).
Create a flow to send messages to MQTT AND subscribe to MQTT messages (without a commit handle).
The materialized value completes on successful connection to the MQTT broker.
- bufferSize
max number of messages read from MQTT before back-pressure applies
- defaultQos
Quality of service level applied for messages not specifying a message specific value