From 9f109538736f33544d0864d9c53f156033cd2174 Mon Sep 17 00:00:00 2001 From: Addison Juarez Date: Fri, 29 Jul 2022 09:36:11 -0500 Subject: [PATCH 1/3] Update cassandra to Beta Signed-off-by: Addison Juarez --- daprdocs/data/components/state_stores/generic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/data/components/state_stores/generic.yaml b/daprdocs/data/components/state_stores/generic.yaml index 6b524549a..6fde1ab0f 100644 --- a/daprdocs/data/components/state_stores/generic.yaml +++ b/daprdocs/data/components/state_stores/generic.yaml @@ -11,7 +11,7 @@ query: false - component: Apache Cassandra link: setup-cassandra - state: Alpha + state: Beta version: v1 since: "1.0" features: From 5335a3ac2c7d34c5753a59696d65cddaafeb440c Mon Sep 17 00:00:00 2001 From: Shubham Sharma Date: Fri, 29 Jul 2022 20:09:10 +0530 Subject: [PATCH 2/3] Update dapr publish CLI Signed-off-by: Shubham Sharma --- .../content/en/reference/cli/dapr-publish.md | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/daprdocs/content/en/reference/cli/dapr-publish.md b/daprdocs/content/en/reference/cli/dapr-publish.md index e70d853f9..fdf56566e 100644 --- a/daprdocs/content/en/reference/cli/dapr-publish.md +++ b/daprdocs/content/en/reference/cli/dapr-publish.md @@ -21,19 +21,27 @@ dapr publish [flags] ### Flags -| Name | Environment Variable | Default | Description | -| ------------------------ | -------------------- | ------------------------------------------------------------ | ----------------------------------------------------- | -| `--publish-app-id`, `-i` | | The ID that represents the app from which you are publishing | -| `--pubsub`, `-p` | | The name of the pub/sub component | -| `--topic`, `-t` | | | The topic to be published to | -| `--data`, `-d` | | | The JSON serialized string (optional) | -| `--data-file`, `-f` | | | A file containing the JSON serialized data (optional) | -| `--help`, `-h` | | | Print this help message | +| Name | Environment Variable | Default | Description | +| ---------------------------- | -------------------- | ------------------------------------------------------------ | ----------------------------------------------------- | +| `--publish-app-id`, `-i` | | The ID that represents the app from which you are publishing | +| `--pubsub`, `-p` | | The name of the pub/sub component | +| `--topic`, `-t` | | | The topic to be published to | +| `--data`, `-d` | | | The JSON serialized string (optional) | +| `--data-file`, `-f` | | | A file containing the JSON serialized data (optional) | +| `--help`, `-h` | | | Print this help message | +| `--metadata`, `-m` | | | A JSON serialized publish metadata (optional) | +| `--unix-domain-socket`, `-u` | | | The path to the unix domain socket (optional) | ### Examples ```bash -# Publish to sample topic in target pubsub +# Publish to sample topic in target pubsub via a publishing app dapr publish --publish-app-id appId --topic sample --pubsub target --data '{"key":"value"}' + +# Publish to sample topic in target pubsub via a publishing app using Unix domain socket +dapr publish --enable-domain-socket --publish-app-id myapp --pubsub target --topic sample --data '{"key":"value"}' + +# Publish to sample topic in target pubsub via a publishing app without cloud event +dapr publish --publish-app-id myapp --pubsub target --topic sample --data '{"key":"value"}' --metadata '{"rawPayload":"true"}' ``` From b64cfbe3629cf7e82b5bfbdf2c1a9e2791083ba6 Mon Sep 17 00:00:00 2001 From: Addison Juarez Date: Wed, 3 Aug 2022 13:57:46 -0500 Subject: [PATCH 3/3] update to 1.9 Signed-off-by: Addison Juarez --- daprdocs/data/components/state_stores/generic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/data/components/state_stores/generic.yaml b/daprdocs/data/components/state_stores/generic.yaml index 6fde1ab0f..0dc5820b6 100644 --- a/daprdocs/data/components/state_stores/generic.yaml +++ b/daprdocs/data/components/state_stores/generic.yaml @@ -13,7 +13,7 @@ link: setup-cassandra state: Beta version: v1 - since: "1.0" + since: "1.9" features: crud: true transactions: false