object MqttSource
Ordering
- Alphabetic
- By Inheritance
Inherited
- MqttSource
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def atLeastOnce(settings: MqttConnectionSettings, subscriptions: MqttSubscriptions, bufferSize: Int): Source[MqttMessageWithAck, CompletionStage[Done]]
Create a source subscribing to MQTT messages with a commit handle to acknowledge message reception.
Create a source subscribing 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
- def atMostOnce(settings: MqttConnectionSettings, subscriptions: MqttSubscriptions, bufferSize: Int): Source[MqttMessage, CompletionStage[Done]]
Create a source subscribing to MQTT messages (without a commit handle).
Create a source subscribing 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