In my project I need to use Kafka ad Spark streaming for doing real time analytics. So I am trying to import Kafka and Spark streaming dependencies. In order to read the Kakfa topics in my spark streaming program, I am trying to import kafka.serializer.StringDecoder. But I am not able to import it.screen-shot-2018-11-05-at-51111-pm.png
Even I wrote a dummy program to fix this issue. But still I couldn't find a solution.