Skip to content

Collector: Added task progress saving & Modified push source pause logic & Refactored the scheduled task module#68

Merged
SteveYurongSu merged 3 commits intoapache:masterfrom
YC27:save-progress
May 8, 2025
Merged

Collector: Added task progress saving & Modified push source pause logic & Refactored the scheduled task module#68
SteveYurongSu merged 3 commits intoapache:masterfrom
YC27:save-progress

Conversation

@YC27
Copy link
Copy Markdown
Contributor

@YC27 YC27 commented May 7, 2025

No description provided.

@SteveYurongSu SteveYurongSu changed the title Added task progress saving & Modified push source pause logic & Refactored the scheduled task module Collector: Added task progress saving & Modified push source pause logic & Refactored the scheduled task module May 8, 2025
new Option<Long>("executor_cron_heartbeat_event_interval_seconds", 20L) {
@Override
public void setValue(final String valueString) {
value = Long.parseLong(valueString);

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
new Option<Integer>("task_progress_report_interval", 60) {
@Override
public void setValue(String valueString) {
value = Integer.parseInt(valueString);

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
TASK_PROCESS_PARALLELISM_NUM.key(),
TASK_PROCESS_PARALLELISM_NUM.value());
attributes.containsKey(TASK_PROCESS_PARALLELISM_NUM.key())
? Integer.parseInt(TASK_PROCESS_PARALLELISM_NUM.key())

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
attributes,
TASK_SINK_PARALLELISM_NUM.key(),
attributes.containsKey(TASK_SINK_PARALLELISM_NUM.key())
? Integer.parseInt(TASK_SINK_PARALLELISM_NUM.key())

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
attributes,
TASK_SOURCE_PARALLELISM_NUM.key(),
attributes.containsKey(TASK_SOURCE_PARALLELISM_NUM.key())
? Integer.parseInt(attributes.get(TASK_SOURCE_PARALLELISM_NUM.key()))

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
@SteveYurongSu SteveYurongSu merged commit c2c0e83 into apache:master May 8, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants