Not sure having the spout function as an http end point is very practical. We implemented APIs on top of one of our storm topologies. We did it with a separate web service that writes to a queue. At the other end of the topology we write the response to a queue and the Web service waits on that queue for replies. The way we did it isn't meant to handle serious load, but we just use these APIs internally anyway, mainly for inspecting and debugging the topology. We don't use kafka but it'll probably handle the job nicely.
On Jan 26, 2015 11:50 AM, Denis DEBARBIEUX <[email protected]> wrote: Hi all, I would like to implement a topology where the spout receives http request. Is there a code sample that can be a good starting point for my implementation? Is kafka designed for this use case? Thanks for your help. D. Debarbieux --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. http://www.avast.com
