Wow-Compensation
  1. compensation.execution_failed
Wow-Compensation
  • wow
    • The receiving endpoint of the wait signal
    • Unified Sending Endpoint For Command Messages
    • Get Wow Metadata
    • Generate Global ID
    • Generate BI Sync Script
  • compensation.execution_failed
    • create_execution_failed
      POST
    • prepare_compensation
      PUT
    • force_prepare_compensation
      PUT
    • apply_execution_success
      PUT
    • apply_execution_failed
      PUT
    • apply_retry_spec
      PUT
    • change_function
      PUT
    • mark_recoverable
      PUT
    • Delete aggregate
      DELETE
    • Recover deleted aggregate
      PUT
    • Get Aggregate Tracing
      GET
    • Load State Aggregate
      GET
    • Load Versioned State Aggregate
      GET
    • Load Time Based State Aggregate
      GET
    • Get Snapshot
      GET
    • Regenerate Aggregate Snapshot
      PUT
    • Batch Regenerate Aggregate Snapshot
      PUT
    • Count Snapshot
      POST
    • List Query Snapshot
      POST
    • List Query Snapshot State
      POST
    • Paged Query Snapshot
      POST
    • Paged Query Snapshot State
      POST
    • Single Snapshot
      POST
    • Single Snapshot State
      POST
    • Load Event Stream
      GET
    • List Query Event Stream
      POST
    • Paged Query Event Stream
      POST
    • Count Event Stream
      POST
    • Event Compensate
      PUT
    • Resend State Event
      POST
  1. compensation.execution_failed

Event Compensate

PUT
/execution_failed/{id}/{version}/compensate
compensation.execution_failed

请求参数

Path 参数
id
string 
必需
aggregate id
version
integer <int32>
必需
aggregate version
示例值:
2147483647
Body 参数application/json
function
object (wow.api.messaging.FunctionInfoData) 
必需
contextName
string 
必需
functionKind
enum<string> 
必需
枚举值:
COMMANDSOURCINGEVENTSTATE_EVENTERROR
name
string 
必需
processorName
string 
必需
id
string 
可选
示例
{
    "function": {
        "contextName": "string",
        "functionKind": "COMMAND",
        "name": "string",
        "processorName": "string"
    },
    "id": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://dev-cn.your-api-server.com/execution_failed///compensate' \
--header 'Content-Type: application/json' \
--data-raw '{
    "function": {
        "contextName": "string",
        "functionKind": "COMMAND",
        "name": "string",
        "processorName": "string"
    },
    "id": "string"
}'

返回响应

🟢200成功
text/plain
Number of event streams compensated
Headers
Wow-Error-Code
string 
可选
Body
integer <int32>
可选
🟠400请求有误
上一页
Count Event Stream
下一页
Resend State Event
Built with