Setting up Subscriptions with webhook.

  • 11 December 2023
  • 0 replies
  • 7 views

Userlevel 4
Badge

We are going to configure the Subscriptions with the free webhook (https://webhook.site/) tool. A webhook is a user-defined HTTP callback - an HTTP request that the pipeline sends automatically when certain actions occur. You can use webhooks to automatically trigger external tasks based on an HTTP request. Tasks can be as simple as sending a message through an application API or as powerful as passing commands to the Data Collector command line interface. 

[1]. https://docs.streamsets.com/portal/controlhub/latest/help/datacollector/UserGuide/Pipeline_Configuration/Webhooks.html?hl=webhook

 

Step1: Setting up a test pipeline DevDataGen ==> Trash.

 

Step2: Reconfigure the control-hub subscription to activate when there is a change in the status of the Job. You can open the https://webhook.site/ and you will find the URL details. Here is my test subscription configurations:

 

Step3: Start the pipeline and you will see subscription is getting triggered. You can confirm the same on the Webhook UI.

 

You can see Payload is populated in the webhook with JOB_name.

 


0 replies

Be the first to reply!

Reply