GitHub user ZisZ opened a pull request:
https://github.com/apache/bahir/pull/69
[BAHIR-181] username and password should be available for pyspark when
using mqtt streaming
When using spark-streaming-mqtt with pyspark to access rabbitmq, I found
there are no username and password provied for python api;
These two params are important and necessary for rabbitmq especially when
using rabbitmq virtual hosts, so I added a group of functions here;
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ZisZ/bahir master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bahir/pull/69.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #69
----
commit bea2aec58b7903c11907ba1d9687c48f90bb8519
Author: zhankeyu <zisz>
Date: 2018-11-01T09:26:19Z
add user and password in MQTTUtils for pyspark
commit 818acf8d1cd8ddd31a721126b49529b83dd3bfda
Author: zhankeyu <zisz>
Date: 2018-11-01T09:37:11Z
adjust code style
----
---