Check this thread <https://stackoverflow.com/questions/37810709/kafka-topic-partitions-to-spark-streaming> .
El lun., 21 may. 2018 a las 0:25, kant kodali (<kanth...@gmail.com>) escribió: > Hi All, > > I have 5 Kafka topics and I am wondering if is even possible to create one > KafkaDirectStream (Dstream) per topic within the same JVM i.e using only > one sparkcontext? > > Thanks! > -- Alonso Isidoro Roman [image: https://]about.me/alonso.isidoro.roman <https://about.me/alonso.isidoro.roman?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>