Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segment-boneyard/nsq_to_slack
NSQ -> Slack
https://github.com/segment-boneyard/nsq_to_slack
Last synced: about 7 hours ago
JSON representation
NSQ -> Slack
- Host: GitHub
- URL: https://github.com/segment-boneyard/nsq_to_slack
- Owner: segment-boneyard
- Created: 2015-08-04T12:30:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-04T12:31:03.000Z (over 9 years ago)
- Last Synced: 2024-04-09T16:31:13.701Z (7 months ago)
- Language: Go
- Size: 79.1 KB
- Stars: 4
- Watchers: 46
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## nsq_to_slack
Listens on the given channel and sends messages to [slack](https://api.slack.com/incoming-webhooks).
## Example
```bash
nsq_to_slack --topic messages --webhook-url &
nsqlookupd &
nsqd --lookupd-tcp-address=:4160 &
echo '{
"channel": "#testing-slack-api",
"username": "webhookbot",
"text": "This is posted to #testing-slack-api and comes from a bot named webhookbot.",
"icon_emoji": ":ghost:"
}' | json_to_nsq --topic messages
```