Ask Your Question

How to get parameters from HTTP get url using Expression evaluator?

asked 2019-07-22 21:28:01 -0500

LucasDiams gravatar image

I have created a microservice pipeline in streamsets. Upon making a get callout, i have to retrieve data from mysql depending on the parameters sent in the http get url using expression evaluator?

My url is supposed to be like this: Http://

I have to retrieve data based on param1 value and param2 value.

Also, how do I handle cases when the params send will be null?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-18 10:55:28 -0500

Peter Delaney gravatar image

if you add Expression Evaluator in your Pipeline. Put the following field Expression Output Field: / Field Expression: ${str:splitKV(record:attribute('queryString'), '&', '=')}

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-07-22 21:28:01 -0500

Seen: 285 times

Last updated: Feb 18