Question

refreshing pipeline launch using SDK

  • 3 January 2022
  • 1 reply
  • 27 views

After launching pipeline using SDK, if i have any changes in pipeline, i want to do it from SDK instead of UI and those changes has to reflect in UI. how can i achieve this one without again launching pipeline.

some more queries

1.preview using SDK

  1. how to know stage has no errors in SDK

1 reply

Userlevel 4
Badge

@ashok verma I am not fully understand what exactly you are trying to achieve here. but check this tutorial , this might help.

Edit multiple SCH pipelines and their stages

 

Also regarding your other ask  SDK methods are available

  • Preview:  SDK method is available

https://docs.streamsets.com/sdk/latest/api/sdc_api.html?highlight=run_pipeline_preview#streamsets.sdk.DataCollector.run_pipeline_preview 

  1. Getting Stage error: 

https://docs.streamsets.com/sdk/latest/api/sdc_api.html?highlight=get_stage_errors#streamsets.sdk.DataCollector.get_stage_errors

Reply