# Delayed retry mechanism in Sink connector

**URL:** <https://forum.confluent.io/t/delayed-retry-mechanism-in-sink-connector/9191>\
**Category:** Kafka Connect\
**Created:** [28 November 2023 16:58 UTC](https://forum.confluent.io/t/delayed-retry-mechanism-in-sink-connector/9191 "2023-11-28T16:58:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![laxmi-narayan-nitdgp](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/laxmi-narayan-nitdgp/32/2046_2.png) [@laxmi-narayan-nitdgp](https://forum.confluent.io/u/laxmi-narayan-nitdgp)\
**Post date:** [28 November 2023 16:58 UTC](https://forum.confluent.io/t/delayed-retry-mechanism-in-sink-connector/9191/1 "2023-11-28T16:58:42Z")

</div>

I want to implement delayed retry mechanism in Sink connector , I see that if we throw  
RetriableException from put method, events are retried.  
I found the following two properties to introduce a delay in subsequent retries but it is not taking effect.  
“errors.retry.timeout”:600000,  
“errors.retry.delay.max.ms”:300000,

I have put these two in the connectors config. I am using kafka-connect 2.6 APIs.

Kafka confluence doc : [KIP-298: Error Handling in Connect - Apache Kafka - Apache Software Foundation](https://cwiki.apache.org/confluence/display/KAFKA/KIP-298%3A+Error+Handling+in+Connect)  
Kafka public doc : [Apache Kafka](https://kafka.apache.org/21/documentation.html#connectconfigs)  
RetriableException: [https://github.com/jcustenborder/kafka-connect-solr/blob/c917b5c8e938575b6880729f3dbbb7cac4062cb8/src/main/java/com/github/jcustenborder/kafka/connect/solr/SolrSinkTask.java](https://github.com/jcustenborder/kafka-connect-solr/blob/c917b5c8e938575b6880729f3dbbb7cac4062cb8/src/main/java/com/github/jcustenborder/kafka/connect/solr/SolrSinkTask.java)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [28 December 2023 16:59 UTC](https://forum.confluent.io/t/delayed-retry-mechanism-in-sink-connector/9191/2 "2023-12-28T16:59:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
