Hey, question about notifications. I saw there is ...
# ask-the-community
v
Hey, question about notifications. I saw there is a feature to send slack notifications which is configured per launch plan. Slack requires a webhook url or a slack token, but I didn’t find from the docs how to pass either of these. The docs speak of SNS/SQS or pub-sub queues. Does the slack integration actually send to slack, or are we expected to use the sns/sqs to do it ourselves?
y
flyte notifications rely on email actually. all the notifications including slack are email based.
slack has an email endpoint that you can hit to turn into a slack notification
the sns/sqs bits are how the notifications work.
v
y
sns/sqs are used for ensuring that notifications get sent, or at least substantially increasing the probability that messages are sent.
when a notification needs to happen, a message is sent to sns. amazon delivers that to sqs, and a background goroutine in admin will poll sqs for notifications. when it sees one it’ll send it out.