Forum Discussion

GBekkanti's avatar
GBekkanti
New Contributor III
7 years ago

Converting Fields to Documents

Hi Team,

Can we convert Fields/Elements/Tags of an XML file to Documents?

Appreciate your response.

Thanks and Regards,
Gopi Bekkanti.

2 Replies

  • cstewart's avatar
    cstewart
    Former Employee

    If you read the XML file with the file reader, then use the XML parser, the document is translated into a JSON structure in SnapLogic. If you need to split a part of that down to a document, then use the JSON Splitter to split out the parts that you want as separate documents.

    • GBekkanti's avatar
      GBekkanti
      New Contributor III

      Thank You @cstewart. Do you have any Idea about Confluent Kafka Consumer? Can we read multiple messages without committing. is there any kind of Batch commit rather than single message commit?
      I need to commit all the messages after successfully writing to azure. if there is any error while writing to azure, we need to read those messages again.