Skip to content

[Feature/功能]: 根据渠道,允许重试4xx请求 #1803

@Snowy117

Description

@Snowy117

Pre-submission Checklist / 提交前检查

  • I have searched the existing issues and this feature has not been requested / 我已搜索现有 issues,此功能尚未被提出
  • I have read the documentation / 我已阅读文档

FAQ Check / FAQ 检查

  • I have checked the FAQ and this feature has not been requested there / 我已查阅 FAQ,此功能未被提及

Background / 背景说明

由于上游渠道参差不齐,返回的4xx错误不一定是客户端错误,而是渠道的偶然错误

Problem Statement / 问题描述

此时,axonhub不会进行重试(429)除外

Proposed Solution / 期望方案

能够给每个渠道进行自定义配置,例如,允许某渠道的400、401、403错误码仍然进行重试。默认(不配置)的条件下,依然采用当前方案(429/5xx自动重试)

Feature Category / 功能分类

Load Balancing / Failover / 负载均衡 / 故障切换

Additional Context / 其他补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions