You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/06/12 08:03:20 UTC
[jira] [Resolved] (SPARK-15900) please add a map param on
MQTTUtils.createStream for setting MqttConnectOptions
[ https://issues.apache.org/jira/browse/SPARK-15900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-15900.
-------------------------------
Resolution: Won't Fix
This code has been removed from Spark already, but you can look at http://bahir.apache.org/
> please add a map param on MQTTUtils.createStream for setting MqttConnectOptions
> --------------------------------------------------------------------------------
>
> Key: SPARK-15900
> URL: https://issues.apache.org/jira/browse/SPARK-15900
> Project: Spark
> Issue Type: New Feature
> Components: Streaming
> Affects Versions: 1.6.1
> Reporter: lichenglin
>
> I notice that MQTTReceiver will create a connection with the method
> (org.eclipse.paho.client.mqttv3.MqttClient) client.connect()
> It just means client.connect(new MqttConnectOptions());
> this causes that we have to use the default MqttConnectOptions and can't set other param like usename and password.
> please add a new method at MQTTUtils.createStream like
> createStream(jssc.ssc, brokerUrl, topic, map,storageLevel)
> in order to make a none-default MqttConnectOptions.
> thanks
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org