FAQ
Sounds like you want to use DRPC:

This is the old API:
https://github.com/nathanmarz/storm/wiki/Distributed-RPC

You can also do DRPC with Trident:
https://github.com/nathanmarz/storm/wiki/Trident-tutorial

On Sat, Mar 9, 2013 at 1:17 AM, Niranjan Shukla
wrote:
Hello,

i am new to the storm framework and have a basic question. i will describe
my scenario first --

i'm invoking a servlet through Ajax and the servlet in turn builds a Storm
topology and submits it to a cluster, as part of server-side processing in
my MVC application. The Bolt, as part of it's processing, converts
geo-spatial data into JAXB objects. I want the Bolt to return the processed
JAXB object back to the client.

Questions:

1. Is is a valid scenario to use Storm as part of server-side processing
with a view of returning processed data back to the client?
2. If yes, how can i make a BaseRichBolt's extended method execute(Tuple)
to return a processed object (i see it's return type is void). Is there any
alternate class i can use here?

Again, i am quite new to the Storm framework and would appreciate any
information here.

Thanks
Niranjan


--
You received this message because you are subscribed to the Google Groups
"storm-user" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to storm-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Twitter: @nathanmarz
http://nathanmarz.com

--
You received this message because you are subscribed to the Google Groups "storm-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to storm-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupstorm-user @
postedMar 9, '13 at 9:52a
activeMar 9, '13 at 11:26a
posts3
users2
websitestorm-project.net
irc#storm-user

2 users in discussion

Niranjan Shukla: 2 posts Nathan Marz: 1 post

People

Translate

site design / logo © 2022 Grokbase