I am creating an application with nodejs based on KCL. in the processRecords
function, I tried to send the records which I get from kinesis to the web service with http request. But when the web service is not available, the http request will be failed. I want to KCL stop to get records from kinesis and send an alert to pagerduty.
Anyone knows how to do it?