update proto files (#28)

This commit is contained in:
Young Bu Park 2020-09-28 14:58:11 -07:00 committed by GitHub
parent 022817e9bf
commit f789d8fed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -74,6 +74,18 @@ message TopicEventRequest {
// TopicEventResponse is response from app on published message
message TopicEventResponse {
// TopicEventResponseStatus allows apps to have finer control over handling of the message.
enum TopicEventResponseStatus {
// SUCCESS is the default behavior: message is acknowledged and not retried or logged.
SUCCESS = 0;
// RETRY status signals Dapr to retry the message as part of an expected scenario (no warning is logged).
RETRY = 1;
// DROP status signals Dapr to drop the message as part of an unexpected scenario (warning is logged).
DROP = 2;
}
// The list of output bindings.
TopicEventResponseStatus status = 1;
}
// BindingEventRequest represents input bindings event.

View File

@ -102,6 +102,9 @@ message BulkStateItem {
// The entity tag which represents the specific version of data.
// ETag format is defined by the corresponding data store.
string etag = 3;
// The error that was returned from the state store in case of a failed get operation.
string error = 4;
}
// GetStateResponse is the response conveying the state value and etag.