<commit_before># webhook

webhook worker is a daemon that Sub all webhooked topics messages and 
callback their registered hook endpoints.

Webhooks allow you to build or set up integrations which subscribe to certain events on kateway.

When one of those events is triggered, we'll send a HTTP POST payload to the webhook's configured URL. 

### Payload

#### Delivery Headers

|| Header || Description ||
|| X-Partition || Partition id of this message ||
|| X-Offset || Offset of this message ||
|| User-Agent || kateway-webhook/{version} ||
<commit_msg>webhook will be used to djob<commit_after># webhook

webhook worker is a daemon that Sub all webhooked topics messages and 
callback their registered hook endpoints.

Webhooks allow you to build or set up integrations which subscribe to certain events on kateway.

When one of those events is triggered, we'll send a HTTP POST payload to the webhook's configured URL. 

Used with [djob](http://github.com/funkygao/djob) for distributed cluster management.

### Payload

#### Delivery Headers

|| Header || Description ||
|| X-Partition || Partition id of this message ||
|| X-Offset || Offset of this message ||
|| User-Agent || kateway-webhook/{version} ||

{'fraction_non_alphanumeric': 0.08813838550247118, 'fraction_numerical': 0.0, 'mean_word_length': 4.472972972972973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2602583', 'n_tokens_mistral': 339, 'n_tokens_neox': 324, 'n_words': 154}