Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis limitation about transactions #3848

Merged
merged 7 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ 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.

{{% alert title="Limitations" color="warning" %}}
Before using Redis for bindings, make sure you're familiar with [Redis limitations regarding transactions](https://redis.io/docs/interact/transactions/#what-about-rollbacks).
hhunter-ms marked this conversation as resolved.
Show resolved Hide resolved
{{% /alert %}}

```yaml
apiVersion: dapr.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ 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.

{{% alert title="Limitations" color="warning" %}}
Before using Redis for configuration, make sure you're familiar with [Redis limitations regarding transactions](https://redis.io/docs/interact/transactions/#what-about-rollbacks).
hhunter-ms marked this conversation as resolved.
Show resolved Hide resolved
{{% /alert %}}

```yaml
apiVersion: dapr.io/v1alpha1
kind: Component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ description: Detailed information on the Redis lock component

To set up the Redis lock, create a component of type `lock.redis`. See [this guide]({{< ref "howto-use-distributed-lock" >}}) on how to create a lock.

{{% alert title="Limitations" color="warning" %}}
hhunter-ms marked this conversation as resolved.
Show resolved Hide resolved
Before using Redis for distributed locks, 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ aliases:

To set up Redis Streams pub/sub, create a component of type `pubsub.redis`. See the [pub/sub broker component file]({{< ref setup-pubsub.md >}}) to learn how ConsumerID is automatically generated. Read the [How-to: Publish and Subscribe guide]({{< ref "howto-publish-subscribe.md#step-1-setup-the-pubsub-component" >}}) on how to create and apply a pub/sub configuration.

{{% alert title="Limitations" color="warning" %}}
hhunter-ms marked this conversation as resolved.
Show resolved Hide resolved
Before using Redis for pub/sub, 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 for state management, make sure you're familiar with [Redis limitations regarding transactions](https://redis.io/docs/interact/transactions/#what-about-rollbacks).
hhunter-ms marked this conversation as resolved.
Show resolved Hide resolved
{{% /alert %}}

```yaml
apiVersion: dapr.io/v1alpha1
kind: Component
Expand Down