# Redis List

Pops messages from the beginning of a Redis list using the BLPop command.

## Configuration

| Name              | Type   | Optional | Secret | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ----------------- | ------ | -------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| url               | string | no       | no     | The URL of the target Redis server. Database is optional and is supplied as the URL path.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| kind              | string | yes      | no     | Specifies a simple, cluster-aware, or failover-aware redis client. The value should be one of `simple`, `cluster` or `failover`. The value defaults to `"simple"`.                                                                                                                                                                                                                                                                                                                                                                                                           |
| master            | string | yes      | no     | Name of the redis master when `kind` is `failover`. The value defaults to `""`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| tls               | tls    | no       | no     | Custom TLS settings can be used to override system defaults.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| key               | string | no       | no     | The key of a list to read from.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| auto_replay_nacks | bool   | yes      | no     | Whether messages that are rejected (nacked) at the output level should be automatically replayed indefinitely, eventually resulting in back pressure if the cause of the rejections is persistent. If set to `false` these messages will instead be deleted. Disabling auto replays can greatly improve memory efficiency of high throughput streams as the original shape of the data can be discarded immediately upon consumption and mutation. The value defaults to `true`.                                                                                             |
| max_in_flight     | int    | yes      | no     | Optionally sets a limit on the number of messages that can be flowing through a connector pending acknowledgment from the input at any given time. Once a message has been either acknowledged or rejected (nacked) it is no longer considered pending. If the input produces logical batches then each batch is considered a single count against the maximum. **WARNING**: Batching policies at the output level will stall if this field limits the number of messages below the batching threshold. Zero (default) or lower implies no limit. The value defaults to `0`. |
| timeout           | string | yes      | no     | The length of time to poll for new messages before reattempting. The value defaults to `"5s"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| command           | string | yes      | no     | The command used to pop elements from the Redis list. The value should be one of `blpop` or `brpop`. The value defaults to `"blpop"`.                                                                                                                                                                                                                                                                                                                                                                                                                                        |

### TLS configuration

| Name                 | Type            | Optional | Secret | Description                                                                                                                |
| -------------------- | --------------- | -------- | ------ | -------------------------------------------------------------------------------------------------------------------------- |
| enabled              | bool            | yes      | no     | Whether custom TLS settings are enabled. The value defaults to `false`.                                                    |
| skip_cert_verify     | bool            | yes      | no     | Whether to skip server side certificate verification. The value defaults to `false`.                                       |
| enable_renegotiation | bool            | yes      | no     | Whether to allow the remote server to repeatedly request renegotiation.                                                    |
|                      |                 |          |        | Enable this option if you're seeing the error message `local error: tls: no renegotiation`. The value defaults to `false`. |
| root_cas             | string          | yes      | yes    | An optional root certificate authority to use.                                                                             |
|                      |                 |          |        | This is a string, representing a certificate chain from the parent trusted root certificate,                               |
|                      |                 |          |        | to possible intermediate signing certificates, to the host certificate. The value defaults to `""`.                        |
| client_certs         | \[]client_certs | yes      | no     | A list of client certificates to use. . The value defaults to `[]`.                                                        |
