Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24984

Spark Streaming with xml data

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.3.1
    • None
    • DStreams
    • None

    Description

      Hi,

      We have Kinesis producer  which reads xml data . But m currently unable to parse the xml using spark streaming. I'm able to read the data , but unable to parse into schema

       

      I'm able to read the data via spark.option("format","com..xml").load(<filelocation>) which provides the schema. But I dont want to read via files. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            KavyaGowda Kavya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: