Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
1.5.0, 1.5.1
-
None
Description
Currently, there's no way to connect to secured MQTT brokers.
For example, I'm trying to subscribe to a MQTT topic hosted on a single RABBITMQ instance. I can't provide the credentials during the connection.
Furthermore, I saw in the source code (https://github.com/apache/spark/blob/7478c8b66d6a2b1179f20c38b49e27e37b0caec3/external/mqtt/src/main/scala/org/apache/spark/streaming/mqtt/MQTTInputDStream.scala#L50) that credentials are never initialized.
It could be nice to add this ability to spark
Regards