I am trying to pass data from kafka to spark streaming.
This is what I\'ve done till now:
kafka
spark
To print a DStream, spark provides a method pprint for Python. So you'll use
kafkastream.pprint()