mirror of https://github.com/dapr/rust-sdk.git
update proto files (#28)
This commit is contained in:
parent
022817e9bf
commit
f789d8fed6
|
@ -74,6 +74,18 @@ message TopicEventRequest {
|
||||||
|
|
||||||
// TopicEventResponse is response from app on published message
|
// TopicEventResponse is response from app on published message
|
||||||
message TopicEventResponse {
|
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.
|
// BindingEventRequest represents input bindings event.
|
||||||
|
|
|
@ -102,6 +102,9 @@ message BulkStateItem {
|
||||||
// The entity tag which represents the specific version of data.
|
// The entity tag which represents the specific version of data.
|
||||||
// ETag format is defined by the corresponding data store.
|
// ETag format is defined by the corresponding data store.
|
||||||
string etag = 3;
|
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.
|
// GetStateResponse is the response conveying the state value and etag.
|
||||||
|
|
Loading…
Reference in New Issue