mirror of https://github.com/dapr/docs.git
Merge branch 'v1.12' into issue_3584
Signed-off-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
commit
a42a8f0375
|
@ -11,7 +11,6 @@ aliases:
|
|||
|
||||
To setup Redis binding create a component of type `bindings.redis`. See [this guide]({{< ref "howto-bindings.md#1-create-a-binding" >}}) on how to create and apply a binding configuration.
|
||||
|
||||
|
||||
```yaml
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
|
|
|
@ -10,6 +10,7 @@ aliases:
|
|||
## Component format
|
||||
|
||||
To setup Redis configuration store create a component of type `configuration.redis`. See [this guide]({{< ref "howto-manage-configuration.md#configure-a-dapr-configuration-store" >}}) on how to create and apply a configuration store configuration.
|
||||
|
||||
```yaml
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
|||
- name: maxIdleConnections
|
||||
value: <REPLACE-WITH-MAX-IDLE-CONNECTIONS> # Optional. default: "2"
|
||||
- name: timeout
|
||||
value: <REPLACE-WITH-TIMEOUT> # Optional. default: "1000ms"
|
||||
value: <REPLACE-WITH-TIMEOUT> # Optional. default: "1000"
|
||||
```
|
||||
|
||||
{{% alert title="Warning" color="warning" %}}
|
||||
|
@ -38,7 +38,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
|
|||
|--------------------|:--------:|---------|---------|
|
||||
| hosts | Y | Comma delimited endpoints | `"memcached.default.svc.cluster.local:11211"`
|
||||
| maxIdleConnections | N | The max number of idle connections. Defaults to `"2"` | `"3"`
|
||||
| timeout | N | The timeout for the calls. Defaults to `"1000ms"` | `"1000ms"`
|
||||
| timeout | N | The timeout for the calls in milliseconds. Defaults to `"1000"` | `"1000"`
|
||||
|
||||
## Setup Memcached
|
||||
|
||||
|
|
|
@ -11,6 +11,10 @@ aliases:
|
|||
|
||||
To setup Redis state store create a component of type `state.redis`. See [this guide]({{< ref "howto-get-save-state.md#step-1-setup-a-state-store" >}}) on how to create and apply a state store configuration.
|
||||
|
||||
{{% alert title="Limitations" color="warning" %}}
|
||||
Before using Redis and the Transactions API, make sure you're familiar with [Redis limitations regarding transactions](https://redis.io/docs/interact/transactions/#what-about-rollbacks).
|
||||
{{% /alert %}}
|
||||
|
||||
```yaml
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
|
|
Loading…
Reference in New Issue