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

2014-06-16 Thread Bobby Evans
Yes it will run in the same thread as the task. On 6/3/14, 10:14 PM, Xueming Li james.xueming...@gmail.com wrote: Sorry, changed the title to make it more accurate. On Tue, Jun 3, 2014 at 11:12 PM, Xueming Li james.xueming...@gmail.com wrote: Or do I need to worry about synchronization

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

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