Getting Started with SDC Edge and Control Hub
To get started with SDC Edge and Control Hub, you download and install SDC Edge on the edge device where you want to run edge pipelines.
The Control Hub Pipeline Designer includes several edge sample pipelines that make it easy to design an edge pipeline. Use one of the samples to create the edge pipeline, and then simply create the corresponding Data Collector receiving pipeline. Add the receiving pipeline to a job, and run the job on an execution Data Collector. Then add the edge pipeline to a job, and run the job on an SDC Edge. Use the default topology to monitor the progress of both jobs.
In these instructions, we'll assume that you already have some execution Data Collectors registered with Control Hub. If not, you must first register an execution Data Collector with Control Hub.
We'll use the Directory Spooler To HTTP sample pipeline as an example. This sample pipeline uses a Directory origin to read a local text file on the edge device and write the data in JSON format to an HTTP Client destination:
Step 1. Download and Install SDC Edge
Download and install the SDC Edge executable from Control Hub. Choose to enable Control Hub during the download to automatically register the SDC Edge with Control Hub.
Step 2. Start SDC Edge
bin/edge
The SDC Edge is automatically registered to work with Control Hub at start up.
Step 3. Create an Edge Pipeline from a Sample Pipeline
Use one of the edge sample pipelines to create your edge sending pipeline.
Step 4. Create a Data Collector Receiving Pipeline
Edge sending pipelines work in tandem with Data Collector pipelines.
Create a corresponding Data Collector receiving pipeline that uses an HTTP Server origin to read data from the HTTP Client destination in the edge sending pipeline. Add any number of processors, executors, and destinations to the pipeline, as follows:
Step 5. Create and Start Jobs for the Pipelines
Create and start a job for the Data Collector receiving pipeline on an execution Data Collector. Create and start a job for the edge pipeline on an SDC Edge.
Step 6. Monitor the Jobs in a Topology
Add the Data Collector receiving and edge jobs to a topology, and then monitor the progress of both jobs from the single topology view.