Thank you very much Nathan.

Nick

On Mon, Sep 29, 2014 at 11:43 AM, Nathan Leung <[email protected]> wrote:

> You get a handle to TopologyContext in the prepare method of your
> spout/bolt.
>
>
> http://nathanmarz.github.io/storm/doc/backtype/storm/task/TopologyContext.html#getThisTaskId()
>
> On Mon, Sep 29, 2014 at 11:37 AM, Nick Katsipoulakis <
> [email protected]> wrote:
>
>> Hello,
>>
>> How can I get the task ID of a bolt in a topology? I need to get it in
>> order to perform an emitDirect() from a Spout.
>>
>> Thanks,
>> Nick
>>
>>
>


-- 
Nikolaos Romanos Katsipoulakis,
University of Pittsburgh, PhD candidate

Reply via email to