About loading data into data domains

You can load data into the data domain using either the Data Ingest Web Service or the Bulk Load Interface.

Loading data with the Data Ingest Web Service

If you intend to use the Data Ingest Web Service (or tools that rely on it) for loading data into the data domain hosted in the Endeca Server cluster, no special configuration is required in the data domain to ensure proper routing of data updating requests.

Specifically, only the leader Dgraph node from a specific data domain accepts write requests from the Data Ingest Web Service. The Endeca Server cluster identifies the leader node, selects a new leader node if the current leader node fails, and ensures that updating requests are always routed only to the appropriate leader node (for each data domain) after they arrive from the client.

Loading data with the Bulk Load Interface

If you intend to use the Bulk Load Interface for loading data into the data domain, only one node in the data domain (the leader node) can accept write requests from the Bulk Load Interface. For these requests to locate the leader node and the port used by the data domain for Bulk Load, the Endeca Server allocates the bulk load port for each data domain that requires it.