Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
We are using Spark Streaming in the automotive IOT environment with MQTT as the data source.
For security reasons our MQTT broker is protected by username and password (as is default for these kind of environments). At the moment it is not possible to set username/password when creating an MQTT Receiver (MQTTInputDStream or MqttStreamSource).
I propose that the MQTTInputDStream and MqttStreamSource be extended to optionally allow setting the following mqtt options / parameters:
- username
- password
- clientId
- cleanSession
- QoS
- connectionTimeout
- keepAliveInterval
- mqttVersion
If this proposal meets your approval I am willing to create a pull request with these changes implemented.
Note: The part for MqttInputDStream has been split off into BAHIR-53.