hkwi / hook-spray

webhook notification proxy to dispatch to multiple endpoints

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hook-spray

Webhook notification proxy to dispatch to multiple endpoints. This also works for SPARQL 1.1 Update. hook-spray endpoint is fixed to /hook.

graph LR
  ORIGIN --> hook-spray
  hook-spray --> webhook1
  hook-spray --> webhook2
Loading

This webhook proxy is quick to setup but not robust. If you want robustness, there is kafka-backed job queue dispatcher.

https://github.com/simonireilly/kafka-webhook-dispatcher

args

  • dest : webhook endpoint. you can set multiple times.
  • port : hook-spray listening address. (default=:8080)

Example:

hook-spray -port=:8080 -dest=http://webhook1 -dest=http://webhook2

About

webhook notification proxy to dispatch to multiple endpoints


Languages

Language:Go 88.0%Language:Dockerfile 12.0%