Ask Your Question

How to export and import a Pipeline from StreamSets Control Hub using REST Api?

asked 2019-09-23 08:55:45 -0600

hcbharath gravatar image

updated 2020-02-25 09:57:53 -0600

metadaddy gravatar image

I have a requirement to automate exporting and importing a Pipeline from StreamSets Control Hub. How to do this using Rest Api?

The rest api's :

Export --> https://host_name:port_no/pipelinestore/rest/v1/pipelines/exportPipelineCommits

Import --> https://host_name:port_no/pipelinestore/rest/v1/pipelines/importPipelineCommits

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-27 11:23:08 -0600

kirti gravatar image

updated 2020-02-27 11:23:35 -0600

Have you looked into using StreamSets SDK for python?
If not, I would highly recommend you to take a look. As that helps one to import/export pipelines, create them, and much more using SDK.

e.g. Good starting point is

In particular search for import_pipeline or export_pipelinesin the following API page:

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-09-23 08:55:45 -0600

Seen: 198 times

Last updated: Feb 27 '20