How can we save xquery output data on shared location of another system that not have Marklogic

53 views Asked by At

We need to save fetched data on another system shared location. And, the shared location system does not have Marklogic.

How to do this in Marklogic?

We are using version 8 of the MarkLogic server.

1

There are 1 answers

2
Mads Hansen On

The MarkLogic servers don't need direct access to where the data is stored. Rather than having the MarkLogic server pull the data in, you can use a client to push the data to MarkLogic and insert. You just need a client that can access the data on that shared mount AND that can communicate with MarkLogic to send the data in.

There are a variety of tools and APIs available that can load data into MarkLogic, depending upon what sort of shared location you are referring to (Unix mount, Windows shared drive, S3, etc.) and whether talking to MarkLogic via HTTP using the out of the box REST APIs PUT /v1/documents, POST /v1/eval, a custom endpoint executing your own module, or using the XCC protocol.

For tools and connectors to load data, there is MarkLogic's MLCP and CoRB as well as the Java and Node.js API and a number connectors for MuleSoft, NiFi, Spark, and Glue.