You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Kashyap Mhaisekar <ka...@gmail.com> on 2014/04/30 06:18:02 UTC

BasicOutputCollector: Question

Hi,
Is there a way to get reference to outputCollector using
BasicOutputCollector? I want to be able to use this for acking some tuples.

Thanks in advance!
Regards,
kashyap

Re: BasicOutputCollector: Question

Posted by Kashyap Mhaisekar <ka...@gmail.com>.
Thanks Nathan
On Apr 30, 2014 3:50 PM, "Nathan Marz" <na...@nathanmarz.com> wrote:

> Yes, that's right.
>
>
> On Wed, Apr 30, 2014 at 4:43 AM, Kashyap Mhaisekar <ka...@gmail.com>wrote:
>
>> Ok. So, using BaseBasicBolt guarantees acks for tuples on execute method
>> completion, right?
>>
>> Regards,
>> Kashyap
>>
>>
>> On Wednesday, April 30, 2014, Nathan Marz <na...@nathanmarz.com> wrote:
>>
>>> That sounds like a bad idea. The whole point of using BasicBolt's is to
>>> not manually ack tuples. If you want control over acking, use RichBolt's.
>>>
>>>
>>> On Tue, Apr 29, 2014 at 9:18 PM, Kashyap Mhaisekar <ka...@gmail.com>wrote:
>>>
>>>> Hi,
>>>> Is there a way to get reference to outputCollector using
>>>> BasicOutputCollector? I want to be able to use this for acking some tuples.
>>>>
>>>> Thanks in advance!
>>>> Regards,
>>>> kashyap
>>>>
>>>
>>>
>>>
>>> --
>>> Twitter: @nathanmarz
>>> http://nathanmarz.com
>>>
>>
>
>
> --
> Twitter: @nathanmarz
> http://nathanmarz.com
>

Re: BasicOutputCollector: Question

Posted by Nathan Marz <na...@nathanmarz.com>.
Yes, that's right.


On Wed, Apr 30, 2014 at 4:43 AM, Kashyap Mhaisekar <ka...@gmail.com>wrote:

> Ok. So, using BaseBasicBolt guarantees acks for tuples on execute method
> completion, right?
>
> Regards,
> Kashyap
>
>
> On Wednesday, April 30, 2014, Nathan Marz <na...@nathanmarz.com> wrote:
>
>> That sounds like a bad idea. The whole point of using BasicBolt's is to
>> not manually ack tuples. If you want control over acking, use RichBolt's.
>>
>>
>> On Tue, Apr 29, 2014 at 9:18 PM, Kashyap Mhaisekar <ka...@gmail.com>wrote:
>>
>>> Hi,
>>> Is there a way to get reference to outputCollector using
>>> BasicOutputCollector? I want to be able to use this for acking some tuples.
>>>
>>> Thanks in advance!
>>> Regards,
>>> kashyap
>>>
>>
>>
>>
>> --
>> Twitter: @nathanmarz
>> http://nathanmarz.com
>>
>


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

Re: BasicOutputCollector: Question

Posted by Kashyap Mhaisekar <ka...@gmail.com>.
Ok. So, using BaseBasicBolt guarantees acks for tuples on execute method
completion, right?

Regards,
Kashyap

On Wednesday, April 30, 2014, Nathan Marz <na...@nathanmarz.com> wrote:

> That sounds like a bad idea. The whole point of using BasicBolt's is to
> not manually ack tuples. If you want control over acking, use RichBolt's.
>
>
> On Tue, Apr 29, 2014 at 9:18 PM, Kashyap Mhaisekar <kashyap.m@gmail.com<javascript:_e(%7B%7D,'cvml','kashyap.m@gmail.com');>
> > wrote:
>
>> Hi,
>> Is there a way to get reference to outputCollector using
>> BasicOutputCollector? I want to be able to use this for acking some tuples.
>>
>> Thanks in advance!
>> Regards,
>> kashyap
>>
>
>
>
> --
> Twitter: @nathanmarz
> http://nathanmarz.com
>

Re: BasicOutputCollector: Question

Posted by Nathan Marz <na...@nathanmarz.com>.
That sounds like a bad idea. The whole point of using BasicBolt's is to not
manually ack tuples. If you want control over acking, use RichBolt's.


On Tue, Apr 29, 2014 at 9:18 PM, Kashyap Mhaisekar <ka...@gmail.com>wrote:

> Hi,
> Is there a way to get reference to outputCollector using
> BasicOutputCollector? I want to be able to use this for acking some tuples.
>
> Thanks in advance!
> Regards,
> kashyap
>



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