1328837476-hug commented on issue #11007: URL: https://github.com/apache/seatunnel/issues/11007#issuecomment-6145642979
我想认领 `connector-http` 中 HTTP Sink 的 `url` 非空白声明式校验这一小范围任务,请将此范围记录给 @1328837476-hug。 依据 @nzw921rx 的最新说明,HTTP 已重新开放认领。我核对了当前 `dev`:`HttpSinkFactory.optionRule()` 对 `HttpSinkOptions.URL` 只有 `.required(URL)`,尚未校验空字符串或纯空白值;也未找到针对这一范围的开放 PR。 计划范围: - 在 `HttpSinkFactory.optionRule()` 中使用 `.required(HttpSinkOptions.URL, Conditions.notBlank(HttpSinkOptions.URL))`,保留 `url` 的必填状态、名称和类型。 - 补充工厂/`ConfigValidator` 测试,覆盖有效 URL、缺失、空字符串、纯空白,以及非空白值不被额外裁剪的行为;保留现有多表 URL 占位符配置。 - 核对并补充 HTTP Sink 的中英文选项文档。 此认领仅针对 HTTP Sink 的 `url` 校验;URL 解析、占位符替换、客户端、重试、批量写入和网络检查维持现有行为。会提交一个针对 `dev` 的聚焦 PR 并回链到此 issue。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
