{
  "id": "config-yaml-reference",
  "title": "Write-behind configuration file",
  "url": "https://redis.io/docs/latest/integrate/write-behind/reference/config-yaml-reference/",
  "summary": "Write-behind configuration file reference",
  "tags": [
    "docs",
    "integrate",
    "rs",
    "rdi"
  ],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "page_type": "content",
  "content_hash": "de0006c27cb1b57953a39ba756d92671d5b935f6d18c2357643b4ea73ec44a17",
  "sections": [
    {
      "id": "write-behind-configuration-file",
      "title": "Write-behind Configuration File",
      "role": "overview",
      "text": "**Properties**\n\n| Name                                                                                       | Type             | Description | Required |\n| ------------------------------------------------------------------------------------------ | ---------------- | ----------- | -------- |\n| [**applier**](#applier)<br/>(Configuration details of Write-behind Applier Gear) | `object`, `null` |             |          |\n| [**connections**](#connections)                                                            | `object`         |             |          |\n\n<a name=\"applier\"></a>"
    },
    {
      "id": "applier-configuration-details-of-write-behind-applier-gear",
      "title": "applier: Configuration details of Write-behind Applier Gear",
      "role": "content",
      "text": "**Properties**\n\n| Name                                                                                                                                 | Type                | Description                                                                                                                                                                                                      | Required |\n| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------ | --- |\n| **on_failed_retry_interval**<br/>(Interval \\(in seconds\\) on which to perform retry on failure)                                      | `integer`, `string` | Default: `5`<br/>Pattern: `^\\${.*}$`<br/>Minimum: `1`<br/>                                                                                                                                                       |          |\n| **read_batch_size**<br/>(The batch size for reading data from source database)                                                       | `integer`, `string` | Default: `2000`<br/>Pattern: `^\\${.*}$`<br/>Minimum: `1`<br/>                                                                                                                                                    |          |\n| **debezium_lob_encoded_placeholder**<br/>(Enable Debezium LOB placeholders)                                                          | `string`            | Default: `\"X19kZWJleml1bV91bmF2YWlsYWJsZV92YWx1ZQ==\"`<br/>                                                                                                                                                       |          |\n| **dedup**<br/>(Enable deduplication mechanism)                                                                                       | `boolean`           | Default: `false`<br/>                                                                                                                                                                                            |          |\n| **dedup_max_size**<br/>(Max size of the deduplication set)                                                                           | `integer`           | Default: `1024`<br/>Minimum: `1`<br/>                                                                                                                                                                            |          |\n| **duration**<br/>(Time \\(in ms\\) after which data will be read from stream even if read_batch_size was not reached)                  | `integer`, `string` | Default: `100`<br/>Pattern: `^\\${.*}$`<br/>Minimum: `1`<br/>                                                                                                                                                     |          |\n| **write_batch_size**<br/>(The batch size for writing data to target Redis database\\. Should be less or equal to the read_batch_size) | `integer`, `string` | Default: `200`<br/>Pattern: `^\\${.*}$`<br/>Minimum: `1`<br/>                                                                                                                                                     |          |\n| **error_handling**<br/>(Error handling strategy: ignore \\- skip, dlq \\- store rejected messages in a dead letter queue)              | `string`            | Default: `\"dlq\"`<br/>Pattern: ``^\\${.\\*}$                                                                                                                                                                        | ignore   | dlq``<br/>   |     |\n| **dlq_max_messages**<br/>(Dead letter queue max messages per stream)                                                                 | `integer`, `string` | Default: `1000`<br/>Pattern: `^\\${.*}$`<br/>Minimum: `1`<br/>                                                                                                                                                    |          |\n| **target_data_type**<br/>(Target data type: hash/json \\- RedisJSON module must be in use in the target DB)                           | `string`            | Default: `\"hash\"`<br/>Pattern: ``^\\${.\\*}$                                                                                                                                                                       | hash     | json``<br/>  |     |\n| **json_update_strategy**<br/>(Target update strategy: replace/merge \\- RedisJSON module must be in use in the target DB)             | `string`            | (DEPRECATED)<br/>Property 'json_update_strategy' will be deprecated in future releases. Use 'on_update' job-level property to define the json update strategy.<br/>Default: `\"replace\"`<br/>Pattern: ``^\\${.\\*}$ | replace  | merge``<br/> |     |\n| **initial_sync_processes**<br/>(Number of processes Write-behind Engine creates to process the initial sync with the source)                  | `integer`, `string` | Default: `4`<br/>Pattern: `^\\${.*}$`<br/>Minimum: `1`<br/>Maximum: `32`<br/>                                                                                                                                     |          |\n| **wait_enabled**<br/>(Checks if the data has been written to the replica shard of the target database)                                                      | `boolean`           | Default: `false`<br/>                                                                                                                                                                                            |          |\n| **wait_timeout**<br/>(Timeout in milliseconds when checking write to the replica shard of the target database)                                              | `integer`, `string` | Default: `1000`<br/>Pattern: `^\\${.*}$`<br/>Minimum: `1`<br/>                                                                                                                                                    |          |\n| **retry_on_replica_failure**<br/>(Ensures that the data has been written to the replica shard and keeps retrying if not)             | `boolean`           | Default: `true`<br/>                                                                                                                                                                                             |          |\n\n**Additional Properties:** not allowed  \n<a name=\"connections\"></a>"
    },
    {
      "id": "connections-connections",
      "title": "connections: Connections",
      "role": "content",
      "text": "**Properties (Pattern)**\n\n| Name                     | Type | Description | Required |\n| ------------------------ | ---- | ----------- | -------- |\n| **\\.\\***                 |      |             |          |\n| **additionalProperties** |      |             |          |"
    }
  ],
  "examples": []
}
