Install SDC Edge
Download and install SDC Edge on each edge device where you want to run edge pipelines.
After installation, you can start SDC Edge manually. Or, you can register SDC Edge to run as a system service and then start SDC Edge as a service.
- Download the SDC Edge executable as a tarball or ZIP file along with your designed edge pipeline from Data Collector.
- Download the SDC Edge executable as a tarball, ZIP file, or Windows MSI installer from the StreamSets website.
- Run an SDC Edge container from the Docker image.
Downloading from Data Collector
Use Data Collector to download the SDC Edge executable along with your designed edge pipeline. The downloaded file includes the SDC Edge executable and your selected edge pipeline.
Selecting an edge pipeline and downloading it with the SDC Edge executable is the simplest way to deploy your designed edge pipeline to an edge device. If you use another installation method, you'll need to deploy your edge pipelines from Data Collector to SDC Edge.
Downloading from the StreamSets Website
You can download the SDC Edge executable from the StreamSets website as a tarball, ZIP file, or a Windows MSI installer for Windows operating systems.
Registering SDC Edge as a System Service
After installation, you can register SDC Edge to run as a system service named on the edge device.
- Start an edge pipeline at the same time that SDC Edge starts.
- Modify the log level.
bin/edge -service install
Use the same command on all supported operating systems. On Linux
or Darwin, use sudo
to run the command as an administrator. On Windows,
open the command prompt as an administrator and then run the command.
sudo opt/local/streamsets-datacollector-edge/bin/edge -service install
The
registered system service is named "datacollector-edge" on all operating systems.After SDC Edge is registered as a system service, you can manage the service by running the following commands as an administrator. Or, if you register SDC Edge as a system service on Windows, you can also use the Windows Services Application to start, stop, and restart the service.
SDC Edge Service Command | Description |
---|---|
bin/edge -service start
|
Start the SDC Edge service. |
bin/edge -service stop
|
Stop the SDC Edge service. |
bin/edge -service restart
|
Restart the SDC Edge service. |
bin/edge -service uninstall
|
Uninstall the SDC Edge service. |
bin/edge -service status |
Displays the status of the SDC Edge service. |
Running from Docker
You can run an SDC Edge container from the StreamSets Data Collector Edge Docker image.
docker run --publish 18633:18633 --name edge --rm streamsets/datacollector-edge
Uninstalling SDC Edge
Uninstall SDC Edge based on whether you started SDC Edge manually or as a service:
- Manual start
-
- To shut down SDC Edge, type Ctrl+C in the command prompt.
- Remove the SDC Edge home directory from the edge device.
- Service start
-
- To stop SDC Edge, run the following
command as an administrator from the SDC Edge home
directory:
bin/edge -service stop
For example, you might run the following command on Linux:sudo opt/local/streamsets-datacollector-edge/bin/edge -service stop
- To uninstall SDC Edge as a service, run the
following command as an administrator from the SDC Edge home
directory:
bin/edge -service uninstall
For example, you might run the following command on Linux:sudo opt/local/streamsets-datacollector-edge/bin/edge -service uninstall
- Remove the SDC Edge home directory from the edge device.
- To stop SDC Edge, run the following
command as an administrator from the SDC Edge home
directory: