title: How to map kafka topic names and respective records in spark streaming
body: <p>I am streaming fro kafka topic like below;  </p>
  
  <pre><code>JavaPairInputDStream&lt;String, String&gt; directKafkaStream = 
      KafkaUtils.createDirectStream(jssc,
                                    String.class, 
                                    String.class,
                                    StringDecoder.class,
                                    StringDecoder.class,
                                    kafkaParams, 
                                    topicSet);
  
  directKafkaStream.print();   
  </code></pre>
  
  <p>The output gives like below for one topic:  </p>
  
  <pre><code>(null,"04/15/2015","18:44:14")
  (null,"04/15/2015","18:44:15")
  (null,"04/15/2015","18:44:16")
  (null,"04/15/2015","18:44:17")  
  </code></pre>
  
  <p>How do I map topic name and records.<br>
  ex: topic is "callData" ,it should something like below and so on </p>
  
  <pre><code>(callData,"04/15/2015","18:44:14")
  (callData,"04/15/2015","18:44:15")
  (callData,"04/15/2015","18:44:16")
  (callData,"04/15/2015","18:44:17")  
  </code></pre>