You need to serialize with something like JSON. If you are using a binary
serialization you'd need  a codec like base64 on top of it.




On Tue, Dec 31, 2013 at 10:10 AM, Brian O'Neill <[email protected]>wrote:

>
> I'm trying to understand the motivation for the String based interface on
> the execute method of DRPCClient.
>
> http://nathanmarz.github.io/storm/doc/backtype/storm/utils/DRPCClient.html
> String execute (String, String)
>
> I have a topology that typically receives and outputs java objects.  In
> order for me to call it with DRPC, do I need to layer on a marshaling layer
> to translate String->POJO and back?
>
> Would it be possible to change the signature to accept any type of object
> and put it in the args field?
>
> -brian
>
> --
> Brian ONeill
> Chief Architect, Health Market Science (http://healthmarketscience.com)
> mobile:215.588.6024
> blog: http://brianoneill.blogspot.com/
> twitter: @boneill42
>

Reply via email to