类 RetryEndPoint

java.lang.Object
com.aizuda.easy.retry.client.core.client.RetryEndPoint

@RestController @RequestMapping("/retry") public class RetryEndPoint extends Object
服务端调调用客户端进行重试流量下发、配置变更通知等操作
  • 构造器详细资料

    • RetryEndPoint

      public RetryEndPoint()
  • 方法详细资料

    • dispatch

      @PostMapping("/dispatch/v1") public Result<DispatchRetryResultDTO> dispatch(@RequestBody @Validated DispatchRetryDTO executeReqDto)
      服务端调度重试入口
    • syncVersion

      @PostMapping("/sync/version/v1") public Result syncVersion(@RequestBody ConfigDTO configDTO)
      同步版本
    • callback

      @PostMapping("/callback/v1") public Result callback(@RequestBody @Validated RetryCallbackDTO callbackDTO)
    • idempotentIdGenerate

      @PostMapping("/generate/idempotent-id/v1") public Result<String> idempotentIdGenerate(@RequestBody @Validated GenerateRetryIdempotentIdDTO generateRetryIdempotentIdDTO)
      手动新增重试数据,模拟生成idempotentId
      参数:
      generateRetryIdempotentIdDTO - 生成idempotentId模型
      返回:
      idempotentId