You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Harish Madineni <ha...@gmail.com> on 2024/01/23 17:55:19 UTC
STORM-4021: Add worker hooks via storm.yaml configuration file
Why can't I add worker hooks via the storm.yaml configuration file?
Is it going to affect performance?
Any difference between adding a worker hook for a topology vs in
configuration file? If any?
Thanks & Regards,
Harish M.
Re: STORM-4021: Add worker hooks via storm.yaml configuration file
Posted by Rui Abreu <ru...@gmail.com>.
I'm not familiar use the use of Hooks, but looking at the documentation
<https://storm.apache.org/releases/current/Hooks.html> and the Javadoc
description
<https://storm.apache.org/releases/current/javadocs/org/apache/storm/hooks/IWorkerHook.html>,
if you wanted to define hooks in storm.yaml you would need to have the
binaries of your hooks available at the Storm shared libs level, which
would be a hard dependency and the hook might not make sense outside the
context of a certain topology.
On Tue, 23 Jan 2024 at 17:58, Harish Madineni <ha...@gmail.com>
wrote:
> - Any difference between adding a worker hook for a topology vs in
> configuration file? If any?
> One difference I'm aware of is, Worker hook runs for that topology and
> worker hook runs for all the topologies/workers.
>
> On Tue, Jan 23, 2024 at 11:25 PM Harish Madineni <
> harishmadineni1@gmail.com> wrote:
>
>> Why can't I add worker hooks via the storm.yaml configuration file?
>> Is it going to affect performance?
>> Any difference between adding a worker hook for a topology vs in
>> configuration file? If any?
>>
>> Thanks & Regards,
>> Harish M.
>>
>
Re: STORM-4021: Add worker hooks via storm.yaml configuration file
Posted by Harish Madineni <ha...@gmail.com>.
- Any difference between adding a worker hook for a topology vs in
configuration file? If any?
One difference I'm aware of is, Worker hook runs for that topology and
worker hook runs for all the topologies/workers.
On Tue, Jan 23, 2024 at 11:25 PM Harish Madineni <ha...@gmail.com>
wrote:
> Why can't I add worker hooks via the storm.yaml configuration file?
> Is it going to affect performance?
> Any difference between adding a worker hook for a topology vs in
> configuration file? If any?
>
> Thanks & Regards,
> Harish M.
>