Ask Your Question
1

Can we implement a REST API on StreamSets?

asked 2018-02-09 03:36:22 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Can we implement something similar to a REST API? For example, I have an endpoint with url /getuserdata/ajay

When someone hits this endpoint, I need to use JDBC to fetch the user data for ajay and return it to the caller.

This can be implemented in a web app. Can I do the same thing with StreamSets?

 httpclient [getuserdata/ajay] ----> kafkaconsumer----->jdbc-------->
                |                                        |
                |                                        |
                ------------------<-----------------------
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-09 17:01:07 -0600

metadaddy gravatar image

No - this is not possible, since there is no mechanism for getting the response back from JDBC to the HTTP Server origin. StreamSets is not the right tool for this job.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2018-02-09 03:36:22 -0600

Seen: 30 times

Last updated: Feb 13