alexkruc commented on PR #26374:
URL: https://github.com/apache/airflow/pull/26374#issuecomment-1247711120

   Hi all :)
   Please note that I'm not a commiter, so my replay might lack details  - 
   I think that this discussion is showing us a bit of an underlying problem 
with the way Airflow works with Slack. There are 2 hooks that are entirely 
different with the parameter they accept and their behavior.. 
([link](https://github.com/apache/airflow/tree/main/airflow/providers/slack/hooks))
   I think that this is causing a lot of confusion with the development of new 
operators/flows, as there is no strict guideline on when to use which Slack 
hook or whether one of them is deprecated.
   So I think that what should be done in the long run is to consolidate the 
Slack hook in a way that allows a single hook to be used with the webhook 
integration or with the Slack API.
   
   My take on this specific matter is until we don't have a unified Slack hook, 
having 2 operators that both of them use different Slack hooks is valid because 
the hooks are different in their nature, and their configuration is different 
as well. If we want to solve this, the solution should be on the SlackHook 
layer IMO.
   
   @eladkal WDYT? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to