Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2228

XmlIO could work with a PCollection

Details

    • New Feature
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • io-ideas
    • None

    Description

      Currently, XmlIO can "only" read from a XML file (using from()).

      I could be interesting to have XmlIO "generic" PTransform to convert each element in an incoming PCollection as POJO.

      For instance, doing something like:

      pipeline.apply("Receive XML from JMS", JmsIO.read().withConnectionFactory(xx).withQueue("MyQueue"))
                  .apply("Convert as POJO", XmlIO.read()...)
                  .apply("Convert POJO to something else", ....)
                  .apply("Store somewhere", ...))
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jbonofre Jean-Baptiste Onofré

              Dates

                Created:
                Updated:

                Slack

                  Issue deployment