mirror of https://github.com/dapr/docs.git
Merge branch 'v1.11' into issue_3239
This commit is contained in:
commit
fa919e73ca
|
|
@ -61,6 +61,7 @@ jobs:
|
||||||
api_location: "daprdocs/public/"
|
api_location: "daprdocs/public/"
|
||||||
output_location: ""
|
output_location: ""
|
||||||
skip_app_build: true
|
skip_app_build: true
|
||||||
|
skip_deploy_on_missing_secrets: true
|
||||||
- name: Upload Hugo artifacts
|
- name: Upload Hugo artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -79,6 +80,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_BAY_0E9E0E81E }}
|
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_BAY_0E9E0E81E }}
|
||||||
action: "close"
|
action: "close"
|
||||||
|
skip_deploy_on_missing_secrets: true
|
||||||
|
|
||||||
algolia_index:
|
algolia_index:
|
||||||
name: Index site for Algolia
|
name: Index site for Algolia
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,8 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: kafka-secrets
|
name: kafka-secrets
|
||||||
key: saslPasswordSecret
|
key: saslPasswordSecret
|
||||||
|
- name: saslMechanism
|
||||||
|
value: "SHA-512"
|
||||||
- name: initialOffset # Optional. Used for input bindings.
|
- name: initialOffset # Optional. Used for input bindings.
|
||||||
value: "newest"
|
value: "newest"
|
||||||
- name: maxMessageBytes # Optional.
|
- name: maxMessageBytes # Optional.
|
||||||
|
|
@ -61,6 +63,7 @@ spec:
|
||||||
| authType | Y | Input/Output | Configure or disable authentication. Supported values: `none`, `password`, `mtls`, or `oidc` | `"password"`, `"none"` |
|
| authType | Y | Input/Output | Configure or disable authentication. Supported values: `none`, `password`, `mtls`, or `oidc` | `"password"`, `"none"` |
|
||||||
| saslUsername | N | Input/Output | The SASL username used for authentication. Only required if `authRequired` is set to `"true"`. | `"adminuser"` |
|
| saslUsername | N | Input/Output | The SASL username used for authentication. Only required if `authRequired` is set to `"true"`. | `"adminuser"` |
|
||||||
| saslPassword | N | Input/Output | The SASL password used for authentication. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}). Only required if `authRequired` is set to `"true"`. | `""`, `"KeFg23!"` |
|
| saslPassword | N | Input/Output | The SASL password used for authentication. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}). Only required if `authRequired` is set to `"true"`. | `""`, `"KeFg23!"` |
|
||||||
|
| saslMechanism | N | Input/Output | The SASL authentication mechanism you'd like to use. Only required if `authtype` is set to `"password"`. If not provided, defaults to `PLAINTEXT`, which could cause a break for some services, like Amazon Managed Service for Kafka. | `"SHA-512", "SHA-256", "PLAINTEXT"` |
|
||||||
| initialOffset | N | Input | The initial offset to use if no offset was previously committed. Should be "newest" or "oldest". Defaults to "newest". | `"oldest"` |
|
| initialOffset | N | Input | The initial offset to use if no offset was previously committed. Should be "newest" or "oldest". Defaults to "newest". | `"oldest"` |
|
||||||
| maxMessageBytes | N | Input/Output | The maximum size in bytes allowed for a single Kafka message. Defaults to 1024. | `2048` |
|
| maxMessageBytes | N | Input/Output | The maximum size in bytes allowed for a single Kafka message. Defaults to 1024. | `2048` |
|
||||||
| oidcTokenEndpoint | N | Input/Output | Full URL to an OAuth2 identity provider access token endpoint. Required when `authType` is set to `oidc` | "https://identity.example.com/v1/token" |
|
| oidcTokenEndpoint | N | Input/Output | Full URL to an OAuth2 identity provider access token endpoint. Required when `authType` is set to `oidc` | "https://identity.example.com/v1/token" |
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,8 @@ An HTTP 204 (No Content) and empty body is returned if successful.
|
||||||
|
|
||||||
You can get a record in Redis using the `get` operation. This gets a key that was previously set.
|
You can get a record in Redis using the `get` operation. This gets a key that was previously set.
|
||||||
|
|
||||||
|
This takes an optional parameter `delete`, which is by default `false`. When it is set to `true`, this operation uses the `GETDEL` operation of Redis. For example, it returns the `value` which was previously set and then deletes it.
|
||||||
|
|
||||||
#### Request
|
#### Request
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
@ -120,6 +122,20 @@ You can get a record in Redis using the `get` operation. This gets a key that wa
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Request with delete flag
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"operation": "get",
|
||||||
|
"metadata": {
|
||||||
|
"key": "key1",
|
||||||
|
"delete": "true"
|
||||||
|
},
|
||||||
|
"data": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### delete
|
### delete
|
||||||
|
|
||||||
You can delete a record in Redis using the `delete` operation. Returns success whether the key exists or not.
|
You can delete a record in Redis using the `delete` operation. Returns success whether the key exists or not.
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,11 @@ spec:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{{% alert title="Warning" color="warning" %}}
|
||||||
|
The above example uses secrets as plain strings. It is recommended to use a [secret store for the secrets]({{< ref component-secrets.md >}}). This component supports storing the `token` parameter and any other sensitive parameter and data as Kubernetes Secrets.
|
||||||
|
{{% /alert %}}
|
||||||
|
|
||||||
|
|
||||||
## Spec metadata fields
|
## Spec metadata fields
|
||||||
|
|
||||||
| Field | Required | Details | Example |
|
| Field | Required | Details | Example |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue