BUG: DataXException.asDataXException is not work
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
as code , if channelLimitedRecordSpeed value is -1 ,
throw DataXException will not work .
-------------------------------------------------------------------------------------------
if (channelLimitedRecordSpeed == null || channelLimitedRecordSpeed <= 0) {
DataXException.asDataXException(FrameworkErrorCode.CONFIG_ERROR,
"在有总tps限速条件下,单个channel的tps值不能为空,也不能为非正数");
}
-------------------------------------------------------------------------------------------
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the validation using channelLimitedRecordSpeed and the DataXException.asDataException entry point. Reproduce the case where channelLimitedRecordSpeed is -1 and inspect whether the expected configuration exception is raised. Done means the invalid non-positive value is handled as described by the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, data-engineering
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100