slack-spam-message-service

slack_spam_notification_service

A simple but effective notification service to relay spam messages into a slack channel.

This provides a single end-point that accepts incoming JSON payloads and if a message worth passing onto slack is found, a background job will be enqueued through Redis.

This allows for web requests to be speedy logic checks and the actual message sending to be decoupled. This way, if Slack's webhooks API returns errors or is slow to respond, whatever service is sending the messages will not be affected. Background jobs that fail also have exponential back-off and automatic retries, and dead jobs are available in Redis for analytics if any debugging information is desired.

Requirements: Crystal (latest) Redis

Environment variables required: REDIS_URL SLACK_CHANNEL_WEBHOOK

Repository

slack-spam-message-service

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 2
  • almost 2 years ago
  • February 28, 2023
License

MIT License

Links
Synced at

Sun, 22 Dec 2024 09:48:13 GMT

Languages