cancel
Showing results for 
Search instead for 
Did you mean: 

Increase CDC webhook timeout

max_olkhin2
Explorer
461

Hi expert,

By default, the SAP CDC webhook waits for one minute for a response.

Is it possible to increase this timeout?

Accepted Solutions (1)

Accepted Solutions (1)

samuelyang
Product and Topic Expert
Product and Topic Expert

But in terms of CDC wait time, there is no option to change it as of now. You're encouraged to consume the webhook message as fast as you can, by using something like a cache or MQ.

Answers (1)

Answers (1)

samuelyang
Product and Topic Expert
Product and Topic Expert

Hi Max,

Not like CDC extension, CDC webhook are notification messages sent by CDC to your application server asynchronously, just like a SMS or email or MQ message, it does not make sense for CDC to set a timeout for webhooks, as CDC wont wait for your webhook endpoint to respond synchronouly.

If the webhook message failed to be delivered to your server or your application server failed to receive or process the message, CDC will re-deliver the webhook message. So webhook messages like MQ messages are guranteed to be delivered at least once. You application server needs to send back a response asynchronouly in a timely manner in order for CDC not to re-deliver the message.

Hope it helps.