You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by Xueming Li <ja...@gmail.com> on 2014/06/04 05:14:53 UTC

If I register a metrics object with a bolt/spout task, will it run in the same thread as the task?

Sorry, changed the title to make it more accurate.


On Tue, Jun 3, 2014 at 11:12 PM, Xueming Li <ja...@gmail.com>
wrote:

> Or do I need to worry about synchronization issue? Thanks in advance!
>

Re: If I register a metrics object with a bolt/spout task, will it run in the same thread as the task?

Posted by Bobby Evans <ev...@yahoo-inc.com.INVALID>.
Yes it will run in the same thread as the task.

On 6/3/14, 10:14 PM, "Xueming Li" <ja...@gmail.com> wrote:

>Sorry, changed the title to make it more accurate.
>
>
>On Tue, Jun 3, 2014 at 11:12 PM, Xueming Li <ja...@gmail.com>
>wrote:
>
>> Or do I need to worry about synchronization issue? Thanks in advance!
>>


Re: If I register a metrics object with a bolt/spout task, will it run in the same thread as the task?

Posted by Bobby Evans <ev...@yahoo-inc.com>.
Yes it will run in the same thread as the task.

On 6/3/14, 10:14 PM, "Xueming Li" <ja...@gmail.com> wrote:

>Sorry, changed the title to make it more accurate.
>
>
>On Tue, Jun 3, 2014 at 11:12 PM, Xueming Li <ja...@gmail.com>
>wrote:
>
>> Or do I need to worry about synchronization issue? Thanks in advance!
>>