diff --git a/docs/features/dead-letter-queue.mdx b/docs/features/dead-letter-queue.mdx index cce21b86..9daf8b7a 100644 --- a/docs/features/dead-letter-queue.mdx +++ b/docs/features/dead-letter-queue.mdx @@ -49,7 +49,7 @@ By default, a Conduit pipeline will stop immediately when a record gets nacked. You can make the pipeline more fault-tolerant by enabling a dead-letter queue. The first step is to change the window size and nack threshold: -- If the window size is greater than 1 and the nack threshold is 0, then the +- If the window size is greater than 0 and the nack threshold is 0, then the first nacked record will cause the pipeline to stop running immediately. Such a configuration essentially disables the dead-letter queue. **This is the default configuration.** @@ -57,10 +57,11 @@ The first step is to change the window size and nack threshold: records will be rerouted to the dead-letter queue without any limits. Such a configuration essentially disables the nack window and enables the dead-letter queue. -- If the window size is greater than 1 and the nack threshold is greater than 0, - then nacked records will be sent to the dead-letter queue. Additionally, - Conduit will keep track of the number of nacks in the current window and stop - the pipeline if the threshold gets exceeded. +- If both the window size and the nack threshold are greater than 0, then nacked + records will be sent to the dead-letter queue. Conduit will keep track of the + number of nacks in the current window and stop the pipeline if the threshold + gets exceeded. Note that the window size needs to be greater than the nack + threshold, otherwise the threshold will never be reached. If the window settings are adjusted accordingly, then Conduit will route nacked records to the builtin log connector by default, causing nacked records to show @@ -90,4 +91,4 @@ Please check the [pipeline config file documentation](/docs/pipeline-configuration-files/getting-started) for more information about configuring a pipeline. -![scarf pixel conduit-site-docs-features](https://static.scarf.sh/a.png?x-pxid=8c8ff6d5-2756-41a3-b4ca-3ca2be381842) \ No newline at end of file +![scarf pixel conduit-site-docs-features](https://static.scarf.sh/a.png?x-pxid=8c8ff6d5-2756-41a3-b4ca-3ca2be381842)