mirror of https://github.com/dapr/docs.git
Merge branch 'v1.13' into issue_4059
This commit is contained in:
commit
1f8ee634e1
|
@ -12,7 +12,7 @@ Dapr bot is triggered by a list of commands that helps with common tasks in the
|
||||||
|
|
||||||
| Command | Target | Description | Who can use | Repository |
|
| Command | Target | Description | Who can use | Repository |
|
||||||
| ---------------- | --------------------- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------- |
|
| ---------------- | --------------------- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------- |
|
||||||
| `/assign` | Issue | Assigns an issue to a user or group of users | Anyone | `dapr`, `docs`, `quickstarts`, `cli`, `components-contrib`, `go-sdk`, `js-sdk`, `java-sdk`, `python-sdk`, `dotnet-sdk` |
|
| `/assign` | Issue | Assigns an issue to a user or group of users | Anyone | `dapr`, `docs`, `quickstarts`, `cli`, `components-contrib`, `go-sdk`, `js-sdk`, `java-sdk`, `python-sdk`, `dotnet-sdk`, `rust-sdk` |
|
||||||
| `/ok-to-test` | Pull request | `dapr`: trigger end to end tests <br/> `components-contrib`: trigger conformance and certification tests | Users listed in the [bot](https://github.com/dapr/dapr/blob/master/.github/scripts/dapr_bot.js) | `dapr`, `components-contrib` |
|
| `/ok-to-test` | Pull request | `dapr`: trigger end to end tests <br/> `components-contrib`: trigger conformance and certification tests | Users listed in the [bot](https://github.com/dapr/dapr/blob/master/.github/scripts/dapr_bot.js) | `dapr`, `components-contrib` |
|
||||||
| `/ok-to-perf` | Pull request | Trigger performance tests. | Users listed in the [bot](https://github.com/dapr/dapr/blob/master/.github/scripts/dapr_bot.js) | `dapr` |
|
| `/ok-to-perf` | Pull request | Trigger performance tests. | Users listed in the [bot](https://github.com/dapr/dapr/blob/master/.github/scripts/dapr_bot.js) | `dapr` |
|
||||||
| `/make-me-laugh` | Issue or pull request | Posts a random joke | Users listed in the [bot](https://github.com/dapr/dapr/blob/master/.github/scripts/dapr_bot.js) | `dapr`, `components-contrib` |
|
| `/make-me-laugh` | Issue or pull request | Posts a random joke | Users listed in the [bot](https://github.com/dapr/dapr/blob/master/.github/scripts/dapr_bot.js) | `dapr`, `components-contrib` |
|
||||||
|
|
|
@ -28,8 +28,10 @@ The diagram below is an overview of how the outbox feature works:
|
||||||
|
|
||||||
The outbox feature can be used with using any [transactional state store]({{< ref supported-state-stores >}}) supported by Dapr. All [pub/sub brokers]({{< ref supported-pubsub >}}) are supported with the outbox feature.
|
The outbox feature can be used with using any [transactional state store]({{< ref supported-state-stores >}}) supported by Dapr. All [pub/sub brokers]({{< ref supported-pubsub >}}) are supported with the outbox feature.
|
||||||
|
|
||||||
|
[Learn more about the transactional methods you can use.]({{< ref "howto-get-save-state.md#perform-state-transactions" >}})
|
||||||
|
|
||||||
{{% alert title="Note" color="primary" %}}
|
{{% alert title="Note" color="primary" %}}
|
||||||
Message brokers that work with the competing consumer pattern (for example, [Apache Kafka]({{< ref setup-apache-kafka>}}) are encouraged to reduce the chances of duplicate events.
|
Message brokers that work with the competing consumer pattern (for example, [Apache Kafka]({{< ref setup-apache-kafka>}})) are encouraged to reduce the chances of duplicate events.
|
||||||
{{% /alert %}}
|
{{% /alert %}}
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -586,7 +586,45 @@ The key takeaways from this example are:
|
||||||
- The number of parallel tasks can be static or dynamic
|
- The number of parallel tasks can be static or dynamic
|
||||||
- The workflow itself is capable of aggregating the results of parallel executions
|
- The workflow itself is capable of aggregating the results of parallel executions
|
||||||
|
|
||||||
While not shown in the example, it's possible to go further and limit the degree of concurrency using simple, language-specific constructs. Furthermore, the execution of the workflow is durable. If a workflow starts 100 parallel task executions and only 40 complete before the process crashes, the workflow restarts itself automatically and only schedules the remaining 60 tasks.
|
Furthermore, the execution of the workflow is durable. If a workflow starts 100 parallel task executions and only 40 complete before the process crashes, the workflow restarts itself automatically and only schedules the remaining 60 tasks.
|
||||||
|
|
||||||
|
It's possible to go further and limit the degree of concurrency using simple, language-specific constructs. The sample code below illustrates how to restrict the degree of fan-out to just 5 concurrent activity executions:
|
||||||
|
|
||||||
|
{{< tabs ".NET" >}}
|
||||||
|
|
||||||
|
{{% codetab %}}
|
||||||
|
<!-- .NET -->
|
||||||
|
```csharp
|
||||||
|
|
||||||
|
//Revisiting the earlier example...
|
||||||
|
// Get a list of N work items to process in parallel.
|
||||||
|
object[] workBatch = await context.CallActivityAsync<object[]>("GetWorkBatch", null);
|
||||||
|
|
||||||
|
const int MaxParallelism = 5;
|
||||||
|
var results = new List<int>();
|
||||||
|
var inFlightTasks = new HashSet<Task<int>>();
|
||||||
|
foreach(var workItem in workBatch)
|
||||||
|
{
|
||||||
|
if (inFlightTasks.Count >= MaxParallelism)
|
||||||
|
{
|
||||||
|
var finishedTask = await Task.WhenAny(inFlightTasks);
|
||||||
|
results.Add(finishedTask.Result);
|
||||||
|
inFlightTasks.Remove(finishedTask);
|
||||||
|
}
|
||||||
|
|
||||||
|
inFlightTasks.Add(context.CallActivityAsync<int>("ProcessWorkItem", workItem));
|
||||||
|
}
|
||||||
|
results.AddRange(await Task.WhenAll(inFlightTasks));
|
||||||
|
|
||||||
|
var sum = results.Sum(t => t);
|
||||||
|
await context.CallActivityAsync("PostResults", sum);
|
||||||
|
```
|
||||||
|
|
||||||
|
{{% /codetab %}}
|
||||||
|
|
||||||
|
{{< /tabs >}}
|
||||||
|
|
||||||
|
Limiting the degree of concurrency in this way can be useful for limiting contention against shared resources. For example, if the activities need to call into external resources that have their own concurrency limits, like a databases or external APIs, it can be useful to ensure that no more than a specified number of activities call that resource concurrently.
|
||||||
|
|
||||||
## Async HTTP APIs
|
## Async HTTP APIs
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,9 @@ spec:
|
||||||
value: <REPLACE-WITH-DATABASE>
|
value: <REPLACE-WITH-DATABASE>
|
||||||
- name: collection
|
- name: collection
|
||||||
value: <REPLACE-WITH-COLLECTION>
|
value: <REPLACE-WITH-COLLECTION>
|
||||||
|
# Uncomment this if you wish to use Azure Cosmos DB as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% alert title="Warning" color="warning" %}}
|
{{% alert title="Warning" color="warning" %}}
|
||||||
|
@ -49,7 +52,7 @@ If you wish to use Cosmos DB as an actor store, append the following to the yam
|
||||||
| masterKey | Y* | The key to authenticate to the Cosmos DB account. Only required when not using Microsoft Entra ID authentication. | `"key"`
|
| masterKey | Y* | The key to authenticate to the Cosmos DB account. Only required when not using Microsoft Entra ID authentication. | `"key"`
|
||||||
| database | Y | The name of the database | `"db"`
|
| database | Y | The name of the database | `"db"`
|
||||||
| collection | Y | The name of the collection (container) | `"collection"`
|
| collection | Y | The name of the collection (container) | `"collection"`
|
||||||
| actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
| actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
||||||
|
|
||||||
### Microsoft Entra ID authentication
|
### Microsoft Entra ID authentication
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,9 @@ spec:
|
||||||
value: "expiresAt" # Optional
|
value: "expiresAt" # Optional
|
||||||
- name: partitionKey
|
- name: partitionKey
|
||||||
value: "ContractID" # Optional
|
value: "ContractID" # Optional
|
||||||
|
# Uncomment this if you wish to use AWS DynamoDB as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% alert title="Warning" color="warning" %}}
|
{{% alert title="Warning" color="warning" %}}
|
||||||
|
@ -58,6 +61,7 @@ In order to use DynamoDB as a Dapr state store, the table must have a primary ke
|
||||||
| sessionToken | N |AWS session token to use. A session token is only required if you are using temporary security credentials. | `"TOKEN"`
|
| sessionToken | N |AWS session token to use. A session token is only required if you are using temporary security credentials. | `"TOKEN"`
|
||||||
| ttlAttributeName | N |The table attribute name which should be used for TTL. | `"expiresAt"`
|
| ttlAttributeName | N |The table attribute name which should be used for TTL. | `"expiresAt"`
|
||||||
| partitionKey | N |The table primary key or partition key attribute name. This field is used to replace the default primary key attribute name `"key"`. See the section [Partition Keys]({{< ref "setup-dynamodb.md#partition-keys" >}}). | `"ContractID"`
|
| partitionKey | N |The table primary key or partition key attribute name. This field is used to replace the default primary key attribute name `"key"`. See the section [Partition Keys]({{< ref "setup-dynamodb.md#partition-keys" >}}). | `"ContractID"`
|
||||||
|
| actorStateStore | N | Consider this state store for actors. Defaults to "false" | `"true"`, `"false"`
|
||||||
|
|
||||||
{{% alert title="Important" color="warning" %}}
|
{{% alert title="Important" color="warning" %}}
|
||||||
When running the Dapr sidecar (daprd) with your application on EKS (AWS Kubernetes), if you're using a node/pod that has already been attached to an IAM policy defining access to AWS resources, you **must not** provide AWS access-key, secret-key, and tokens in the definition of the component spec you're using.
|
When running the Dapr sidecar (daprd) with your application on EKS (AWS Kubernetes), if you're using a node/pod that has already been attached to an IAM policy defining access to AWS resources, you **must not** provide AWS access-key, secret-key, and tokens in the definition of the component spec you're using.
|
||||||
|
|
|
@ -34,6 +34,9 @@ spec:
|
||||||
value: <CERT> # Optional. Required if tlsEnable is `true`.
|
value: <CERT> # Optional. Required if tlsEnable is `true`.
|
||||||
- name: key
|
- name: key
|
||||||
value: <KEY> # Optional. Required if tlsEnable is `true`.
|
value: <KEY> # Optional. Required if tlsEnable is `true`.
|
||||||
|
# Uncomment this if you wish to use Etcd as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% alert title="Warning" color="warning" %}}
|
{{% alert title="Warning" color="warning" %}}
|
||||||
|
@ -59,6 +62,7 @@ If you are using `v1`, you should continue to use `v1` until you create a new Et
|
||||||
| `ca` | N | CA certificate for connecting to Etcd, PEM-encoded. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}).| `"-----BEGIN CERTIFICATE-----\nMIIC9TCCA..."`
|
| `ca` | N | CA certificate for connecting to Etcd, PEM-encoded. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}).| `"-----BEGIN CERTIFICATE-----\nMIIC9TCCA..."`
|
||||||
| `cert` | N | TLS certificate for connecting to Etcd, PEM-encoded. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}).| `"-----BEGIN CERTIFICATE-----\nMIIDUTCC..."`
|
| `cert` | N | TLS certificate for connecting to Etcd, PEM-encoded. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}).| `"-----BEGIN CERTIFICATE-----\nMIIDUTCC..."`
|
||||||
| `key` | N | TLS key for connecting to Etcd, PEM-encoded. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}).| `"-----BEGIN PRIVATE KEY-----\nMIIEpAIB..."`
|
| `key` | N | TLS key for connecting to Etcd, PEM-encoded. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}).| `"-----BEGIN PRIVATE KEY-----\nMIIEpAIB..."`
|
||||||
|
| `actorStateStore` | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
||||||
|
|
||||||
## Setup Etcd
|
## Setup Etcd
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,10 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
type: state.in-memory
|
type: state.in-memory
|
||||||
version: v1
|
version: v1
|
||||||
metadata: []
|
metadata:
|
||||||
|
# Uncomment this if you wish to use In-memory as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
> Note: While in-memory does not require any specific metadata for the component to work, `spec.metadata` is a required field.
|
> Note: While in-memory does not require any specific metadata for the component to work, `spec.metadata` is a required field.
|
||||||
|
|
|
@ -41,6 +41,10 @@ spec:
|
||||||
value: <REPLACE-WITH-OPERATION-TIMEOUT> # Optional. default: "5s"
|
value: <REPLACE-WITH-OPERATION-TIMEOUT> # Optional. default: "5s"
|
||||||
- name: params
|
- name: params
|
||||||
value: <REPLACE-WITH-ADDITIONAL-PARAMETERS> # Optional. Example: "?authSource=daprStore&ssl=true"
|
value: <REPLACE-WITH-ADDITIONAL-PARAMETERS> # Optional. Example: "?authSource=daprStore&ssl=true"
|
||||||
|
# Uncomment this if you wish to use MongoDB as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% alert title="Warning" color="warning" %}}
|
{{% alert title="Warning" color="warning" %}}
|
||||||
|
@ -72,6 +76,7 @@ If you wish to use MongoDB as an actor store, add this metadata option to your C
|
||||||
| readConcern | N | The read concern to use | `"majority"`, `"local"`,`"available"`, `"linearizable"`, `"snapshot"`
|
| readConcern | N | The read concern to use | `"majority"`, `"local"`,`"available"`, `"linearizable"`, `"snapshot"`
|
||||||
| operationTimeout | N | The timeout for the operation. Defaults to `"5s"` | `"5s"`
|
| operationTimeout | N | The timeout for the operation. Defaults to `"5s"` | `"5s"`
|
||||||
| params | N<sup>2</sup> | Additional parameters to use | `"?authSource=daprStore&ssl=true"`
|
| params | N<sup>2</sup> | Additional parameters to use | `"?authSource=daprStore&ssl=true"`
|
||||||
|
| actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
||||||
|
|
||||||
> <sup>[1]</sup> The `server` and `host` fields are mutually exclusive. If neither or both are set, Dapr returns an error.
|
> <sup>[1]</sup> The `server` and `host` fields are mutually exclusive. If neither or both are set, Dapr returns an error.
|
||||||
|
|
||||||
|
@ -85,7 +90,7 @@ If you wish to use MongoDB as an actor store, add this metadata option to your C
|
||||||
You can run a single MongoDB instance locally using Docker:
|
You can run a single MongoDB instance locally using Docker:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run --name some-mongo -d mongo
|
docker run --name some-mongo -d -p 27017:27017 mongo
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then interact with the server at `localhost:27017`. If you do not specify a `databaseName` value in your component definition, make sure to create a database named `daprStore`.
|
You can then interact with the server at `localhost:27017`. If you do not specify a `databaseName` value in your component definition, make sure to create a database named `daprStore`.
|
||||||
|
|
|
@ -35,6 +35,9 @@ spec:
|
||||||
value: "<PEM PATH>"
|
value: "<PEM PATH>"
|
||||||
- name: pemContents # Required if pemPath not provided. Pem value.
|
- name: pemContents # Required if pemPath not provided. Pem value.
|
||||||
value: "<PEM CONTENTS>"
|
value: "<PEM CONTENTS>"
|
||||||
|
# Uncomment this if you wish to use MySQL & MariaDB as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% alert title="Warning" color="warning" %}}
|
{{% alert title="Warning" color="warning" %}}
|
||||||
|
@ -59,6 +62,7 @@ If you wish to use MySQL as an actor store, append the following to the yaml.
|
||||||
| `pemPath` | N | Full path to the PEM file to use for [enforced SSL Connection](#enforced-ssl-connection) required if pemContents is not provided. Cannot be used in K8s environment | `"/path/to/file.pem"`, `"C:\path\to\file.pem"` |
|
| `pemPath` | N | Full path to the PEM file to use for [enforced SSL Connection](#enforced-ssl-connection) required if pemContents is not provided. Cannot be used in K8s environment | `"/path/to/file.pem"`, `"C:\path\to\file.pem"` |
|
||||||
| `pemContents` | N | Contents of PEM file to use for [enforced SSL Connection](#enforced-ssl-connection) required if pemPath is not provided. Can be used in K8s environment | `"pem value"` |
|
| `pemContents` | N | Contents of PEM file to use for [enforced SSL Connection](#enforced-ssl-connection) required if pemPath is not provided. Can be used in K8s environment | `"pem value"` |
|
||||||
| `cleanupIntervalInSeconds` | N | Interval, in seconds, to clean up rows with an expired TTL. Default: `3600` (that is 1 hour). Setting this to values <=0 disables the periodic cleanup. | `1800`, `-1`
|
| `cleanupIntervalInSeconds` | N | Interval, in seconds, to clean up rows with an expired TTL. Default: `3600` (that is 1 hour). Setting this to values <=0 disables the periodic cleanup. | `1800`, `-1`
|
||||||
|
| `actorStateStore` | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
||||||
|
|
||||||
## Setup MySQL
|
## Setup MySQL
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,9 @@ spec:
|
||||||
value: "<FULL PATH TO DIRECTORY WITH ORACLE WALLET CONTENTS >" # Optional, no default
|
value: "<FULL PATH TO DIRECTORY WITH ORACLE WALLET CONTENTS >" # Optional, no default
|
||||||
- name: tableName
|
- name: tableName
|
||||||
value: "<NAME OF DATABASE TABLE TO STORE STATE IN >" # Optional, defaults to STATE
|
value: "<NAME OF DATABASE TABLE TO STORE STATE IN >" # Optional, defaults to STATE
|
||||||
|
# Uncomment this if you wish to use Oracle Database as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
```
|
```
|
||||||
{{% alert title="Warning" color="warning" %}}
|
{{% alert title="Warning" color="warning" %}}
|
||||||
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described [here]({{< ref component-secrets.md >}}).
|
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described [here]({{< ref component-secrets.md >}}).
|
||||||
|
@ -40,6 +43,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
|
||||||
| connectionString | Y | The connection string for Oracle Database | `"oracle://user/password@host:port/servicename"` for example `"oracle://demo:demo@localhost:1521/xe"` or for Autonomous Database `"oracle://states_schema:State12345pw@adb.us-ashburn-1.oraclecloud.com:1522/k8j2agsqjsw_daprdb_low.adb.oraclecloud.com"`
|
| connectionString | Y | The connection string for Oracle Database | `"oracle://user/password@host:port/servicename"` for example `"oracle://demo:demo@localhost:1521/xe"` or for Autonomous Database `"oracle://states_schema:State12345pw@adb.us-ashburn-1.oraclecloud.com:1522/k8j2agsqjsw_daprdb_low.adb.oraclecloud.com"`
|
||||||
| oracleWalletLocation | N | Location of the contents of an Oracle Wallet file (required to connect to Autonomous Database on OCI)| `"/home/app/state/Wallet_daprDB/"`
|
| oracleWalletLocation | N | Location of the contents of an Oracle Wallet file (required to connect to Autonomous Database on OCI)| `"/home/app/state/Wallet_daprDB/"`
|
||||||
| tableName | N | Name of the database table in which this instance of the state store records the data default `"STATE"`| `"MY_APP_STATE_STORE"`
|
| tableName | N | Name of the database table in which this instance of the state store records the data default `"STATE"`| `"MY_APP_STATE_STORE"`
|
||||||
|
| actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
||||||
|
|
||||||
## What Happens at Runtime?
|
## What Happens at Runtime?
|
||||||
When the state store component initializes, it connects to the Oracle Database and checks if a table with the name specified with `tableName` exists. If it does not, it creates this table (with columns Key, Value, Binary_YN, ETag, Creation_Time, Update_Time, Expiration_time).
|
When the state store component initializes, it connects to the Oracle Database and checks if a table with the name specified with `tableName` exists. If it does not, it creates this table (with columns Key, Value, Binary_YN, ETag, Creation_Time, Update_Time, Expiration_time).
|
||||||
|
|
|
@ -74,6 +74,9 @@ spec:
|
||||||
value: <int> # Optional
|
value: <int> # Optional
|
||||||
- name: queryIndexes
|
- name: queryIndexes
|
||||||
value: <string> # Optional
|
value: <string> # Optional
|
||||||
|
# Uncomment this if you wish to use Redis as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% alert title="Warning" color="warning" %}}
|
{{% alert title="Warning" color="warning" %}}
|
||||||
|
@ -119,6 +122,7 @@ If you wish to use Redis as an actor store, append the following to the yaml.
|
||||||
| actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
| actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
||||||
| ttlInSeconds | N | Allows specifying a default Time-to-live (TTL) in seconds that will be applied to every state store request unless TTL is explicitly defined via the [request metadata]({{< ref "state-store-ttl.md" >}}). | `600`
|
| ttlInSeconds | N | Allows specifying a default Time-to-live (TTL) in seconds that will be applied to every state store request unless TTL is explicitly defined via the [request metadata]({{< ref "state-store-ttl.md" >}}). | `600`
|
||||||
| queryIndexes | N | Indexing schemas for querying JSON objects | see [Querying JSON objects](#querying-json-objects)
|
| queryIndexes | N | Indexing schemas for querying JSON objects | see [Querying JSON objects](#querying-json-objects)
|
||||||
|
| actorStateStore | N | Consider this state store for actors. Defaults to `"false"` | `"true"`, `"false"`
|
||||||
|
|
||||||
## Setup Redis
|
## Setup Redis
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,9 @@ spec:
|
||||||
value: ""
|
value: ""
|
||||||
- name: cleanupIntervalInSeconds
|
- name: cleanupIntervalInSeconds
|
||||||
value: "3600"
|
value: "3600"
|
||||||
|
# Uncomment this if you wish to use Microsoft SQL Server as a state store for actors (optional)
|
||||||
|
#- name: actorStateStore
|
||||||
|
# value: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% alert title="Warning" color="warning" %}}
|
{{% alert title="Warning" color="warning" %}}
|
||||||
|
|
Loading…
Reference in New Issue