Question

Inject params to pipeline

  • 4 November 2022
  • 2 replies
  • 32 views

Hi guys! 

I'm building a pipeline that uses a token that is updated hourly. So when I start the pipeline I have to input it as a parameter (or in another way that works). 

I'm facing problem to inject the token using the api or another pipeline, anyone could help?

 

 

 

 


2 replies

Userlevel 3
Badge +1

One way that you could solve this is by passing token as a runtime value to the respective pipeline parameter. You might want to update the respective resource/property hourly on respective datacollector instance(s) so that pipeline parameter could pick up as required.

Ref https://docs.streamsets.com/portal/platform-datacollector/latest/datacollector/UserGuide/Pipeline_Configuration/RuntimeValues.html#concept_bs4_5nm_2s for more details.

Userlevel 4
Badge

@miguelrezende7rox,

Try and see if this approach works:

 

 

Reply