Ask Your Question
0

Move Host-names and Ports to a Configuration File

asked 2020-05-05 07:53:47 -0500

ayash gravatar image

I am very new to streamsets and didn't find a good way to achieve this, yet. As we all know, in Origins and Destinations, we use hostnames/urls to configure them. Since we use the same servers and ports in many different pipelines, can we use a generic variables other than using exact hostnames and port numbers there and configure those variable names in some property file? Or is there any other way that we can achieve the same i.e. gentrifying the host names and port numbers?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-05-05 21:54:07 -0500

J3 gravatar image

Hi Ayash,

Welcome to StreamSets Data Collector! :-)

I use ${runtime:loadResource(<TEXT FILE NAME>, true)} function to store pipeline parameters that I use across multiple pipelines.

https://streamsets.com/documentation/...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-05-05 07:53:47 -0500

Seen: 23 times

Last updated: May 05