cancel
Showing results for 
Search instead for 
Did you mean: 

Converting Fields to Documents

GBekkanti
New Contributor III

Hi Team,

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

Appreciate your response.

Thanks and Regards,
Gopi Bekkanti.

2 REPLIES 2

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
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.