Re: If I register a metrics object with a bolt/spout task, will it run in the same thread as the task?
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?
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!