Custom Stage Libraries
If you develop custom stages, store the stage libraries in a local directory external to the Data Collector installation directory. Use an external directory to enable use of the custom stage libraries after Data Collector upgrades.make the stage libraries available to engine instances by including the libraries in an external resource archive configured for the deployment.
Use the required procedure for your installation type.
We have tutorials for creating a custom origin, processor, and destination on our StreamSets tutorials page. To check them out, go to: https://github.com/streamsets/tutorials.