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" wrote: >Sorry, changed the title to make it more accurate. > > >On Tue, Jun 3, 2014 at 11:12 PM, Xueming Li >wrote: > >> Or do I need to worry about synchronization issue? Thanks in advance! >>
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 wrote: > Or do I need to worry about synchronization issue? Thanks in advance! >