{"id":15808833,"url":"https://github.com/nsqio/nsqadmin_to_slack","last_synced_at":"2026-04-27T21:31:10.539Z","repository":{"id":57580688,"uuid":"355049411","full_name":"nsqio/nsqadmin_to_slack","owner":"nsqio","description":"NSQ consumer to relay nsqadmin actions to slack in realtime","archived":false,"fork":false,"pushed_at":"2021-04-06T03:57:05.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-06T03:07:03.334Z","etag":null,"topics":["nsq","nsqadmin","slack"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nsqio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-06T03:51:21.000Z","updated_at":"2021-04-06T03:59:08.000Z","dependencies_parsed_at":"2022-09-26T19:30:42.894Z","dependency_job_id":null,"html_url":"https://github.com/nsqio/nsqadmin_to_slack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nsqio/nsqadmin_to_slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsqio%2Fnsqadmin_to_slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsqio%2Fnsqadmin_to_slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsqio%2Fnsqadmin_to_slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsqio%2Fnsqadmin_to_slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsqio","download_url":"https://codeload.github.com/nsqio/nsqadmin_to_slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsqio%2Fnsqadmin_to_slack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32356596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nsq","nsqadmin","slack"],"created_at":"2024-10-05T03:07:33.576Z","updated_at":"2026-04-27T21:31:10.522Z","avatar_url":"https://github.com/nsqio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# nsqadmin_to_slack\n\n`nsqadmin_to_slack` sends event actions from nsqadmin to a slack channel. It's inspired by [nsqadmin2hipchat](https://github.com/danielhfrank/nsqadmin2hipchat) by [@danielhfrank](https://github.com/danielhfrank).\n\nThis was adapted from a more generic internal nofication system in use at Bitly.\n\n### nsqadmin configuration\n\n`nsqadmin` supports creating a datastream of events of state change actions. These events cover actions like pause/unpause/empty/remove for topics and channels. \n\nTo enable this event datastream configure `nsqadmin` to use the HTTP PUB endpoint on `nsqd`\n\n```\nnsqadmin --notification-http-endpoint=\"http://127.0.0.1:4151/pub?topic=nsqadmin_events\"\n```\n\nIf HTTP requests to nqsadmin have a Basic authorization header (often from running behind an authenticating proxy like [oauth2_proxy](https://github.com/bitly/oauth2_proxy)) that will be recorded in the event as the User initiating action. If the header X-Forwarded-Email is set, that will be used to match to the right slack user.\n\nThe structure of these events is defined [here](https://github.com/nsqio/nsq/blob/master/nsqadmin/notify.go#L12-L23).\n\n### Configuration\n\n`nsqadmin_to_slack` supports reading nsqadmin events from a nsqd topic, and sending properly formatted events to slack.\n\n```\nUsage of ./nsqadmin_to_slack:\n  -channel string\n      NSQ channel (default \"nsqadmin_to_slack\")\n  -consumer-opt value\n      option to passthrough to nsq.Consumer (may be given multiple times, http://godoc.org/github.com/nsqio/go-nsq#Config)\n  -lookupd-http-address value\n      lookupd HTTP address (may be given multiple times)\n  -max-in-flight int\n      max number of messages to allow in flight (default 200)\n  -nsqd-tcp-address value\n      nsqd TCP address (may be given multiple times)\n  -slack-channel string\n      Slack channel. i.e. #test\n  -slack-token string\n      Slack API Token (may alternately be specified via SLACK_TOKEN environment variable)\n  -topic string\n      NSQ topic\n  -version\n      print version string\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsqio%2Fnsqadmin_to_slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsqio%2Fnsqadmin_to_slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsqio%2Fnsqadmin_to_slack/lists"}