undoing cli-overview and pubsub ref

This commit is contained in:
Ori Zohar 2020-12-03 11:05:54 -08:00
parent 37467fdb0f
commit 94f67305e4
2 changed files with 7 additions and 2 deletions

View File

@ -103,7 +103,8 @@ path | route path from the subscription configuration
#### Expected HTTP Response
An HTTP 200 response with JSON encoded payload body with the processing status:
An HTTP 2xx response denotes successful processing of message.
For richer response handling, a JSON encoded payload body with the processing status can be sent:
```json
{
@ -116,8 +117,9 @@ Status | Description
SUCCESS | message is processed successfully
RETRY | message to be retried by Dapr
DROP | warning is logged and message is dropped
Others | error, message to be retried by Dapr
For empty payload responses in HTTP 2xx, Dapr assumes `SUCCESS`.
Dapr assumes a JSON encoded payload response without `status` field or an empty payload responses with HTTP 2xx, as `SUCCESS`.
The HTTP response might be different from HTTP 2xx, the following are Dapr's behavior in different HTTP statuses:

View File

@ -9,6 +9,7 @@ weight: 10
The Dapr CLI allows you to setup Dapr on your local dev machine or on a Kubernetes cluster, provides debugging support, and launches and manages Dapr instances.
```bash
__
____/ /___ _____ _____
/ __ / __ '/ __ \/ ___/
@ -16,6 +17,8 @@ The Dapr CLI allows you to setup Dapr on your local dev machine or on a Kubernet
\__,_/\__,_/ .___/_/
/_/
===============================
Distributed Application Runtime
Usage:
dapr [command]