-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improvement-17010][DataX] Change datax_channel_count to a custom parameter #17032
base: dev
Are you sure you want to change the base?
Conversation
@SbloodyS PTAL. |
...-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxParameters.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run mvn spotless:apply
to format code. @BruceWong96
Done. Thanks. |
93eb4af
to
8cf11f7
Compare
Some ci problem can be fixed by #17041 |
@SbloodyS How do i retry analysis of this PR ? |
OK, finished. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
/** | ||
* channel count | ||
*/ | ||
private int channelCount = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to expose this into UI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the following documents, the channel can be directly configured in the JSON.
ds-doc-datax
hdfswriter
What do you think about it ?
Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If so, this PR seems meanless, it doesn't change the usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If so, this PR seems meanless, it doesn't change the usage.
Sorry, I might have misunderstood this issue.
After reviewing the issue, it’s clear that custom configurations are fully handled through JSON.
Modifying this parameter is only required when using DS’s default configuration.
To address this, we should add a channel configuration option in the UI to let users adjust the channel count setting.
Is my understanding correct?
Thanks.
|
|
Purpose of the pull request
Change datax_channel_count to a custom parameter.
close #17010
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.