Frequently Asked Questions

How do I find answers to questions not mentioned here?
Use the #marklogic-dhf tag on StackOverflow to ask us a question.
What MarkLogic Server version works with Data Hub?
How do I deploy my own custom modules?

Place the custom modules and libraries in the standard ml-gradle location under your-project-root/src/main/ml-config.

For more details, see the ml-gradle documentation on Project Layout and Common Tasks.

Can I change the source or destination database?

Yes. Simply specify sourceDB and finalDB when running your flow from Gradle.

For example, Data Hub reads ingested data from the STAGING database and writes mapped data to the FINAL database.

How can I avoid storing passwords in my configuration files?

The easiest way to provide authentication information to the Gradle plugin is to set mlUsername and mlPassword in

To avoid storing security credentials in plain text in a configuration file, you can pass the properties to the command line with the -P flag.

./gradlew someTask -PmlUsername=admin -igradlew.bat someTask -PmlUsername=admin -i
How do I load binaries via ingestion?

In QuickStart,

  1. Create a flow.
  2. Add an ingestion step to the flow.
  3. In the Manage Flows page, click the ingestion step box to display the step's settings in the step detail panel below.
  4. Set Source Format to Binary.
    Ingestion step - Source Format

How can I run Data Hub in the MarkLogic Data Hub Service?
Data Hub is part of the suite of data services included in DHS. See Deploy to Data Hub Service.
Can I import my existing Smart Mastering Core projects to Data Hub?
Yes, you can add your existing Smart Mastering Core projects to a mastering step in a flow. See Import Your Smart Mastering Core Projects.