You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "JeremyXin (via GitHub)" <gi...@apache.org> on 2026/09/07 09:35:25 UTC
[PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
JeremyXin opened a new pull request, #12169:
URL: https://github.com/apache/seatunnel/pull/12169
<!--
Thank you for contributing to SeaTunnel! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
remember to adjust the documentation.
Feel free to ping committers for the review!
## Contribution Checklist
- Make sure that the pull request corresponds to a [GITHUB issue](https://github.com/apache/seatunnel/issues).
- Name the pull request in the form "[Feature] [component] Title of the pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
- Minor fixes should be named following this pattern: `[hotfix] [docs] Fix typo in README.md doc`.
-->
### Purpose of this pull request
<!-- Describe the purpose of this pull request. For example: This pull request adds checkstyle plugin.-->
## Summary
related: #12087, #12140
This PR implements the server-local advisory autoscaling Slice 1 extracted from the original autoscaling implementation in PR #12140.
Included modules:
- Core autoscaling models and immutable snapshots
- Internal `AutoscalerRuntimeConfig` with defaults and validation
- Hierarchical policy evaluation
- Stabilization tracker, fencing, idempotency, and bounded state store
- Worker heartbeat metrics reporting
- ResourceManager worker sample and resource shortage integration
- CoordinatorService active-master lifecycle and evaluation loop
- Core policy and lifecycle tests
## Slice 1 Scope
This PR follows the server-local direction discussed in STIP #12087, with one deliberate adjustment: it includes the internal
runtime wiring required to form a complete autoscaling vertical slice.
Compared with the stricter Slice 1 split, this PR also includes Worker heartbeat metrics reporting, ResourceManager sample/shortage integration, `ReportAutoscalerMetricsOperation`, and CoordinatorService lifecycle/evaluation wiring.
These are internal Zeta runtime components required to complete the flow:
- Worker metrics → ResourceManager state → CoordinatorService evaluation → advisory recommendation.
Slice 1 also introduces the internal `AutoscalerRuntimeConfig` with defaults and validation. User-facing YAML/Option configuration will be added in Slice 2 and mapped to this internal model.
REST APIs, Prometheus/OpenMetrics exports, public configuration, documentation, worker membership mutation, and running-job rescaling remain out of scope for this PR.
### Does this PR introduce _any_ user-facing change?
<!--
Note that it means *any* user-facing change including all aspects such as the documentation fix.
If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
If possible, please also clarify if this is a user-facing change compared to the released SeaTunnel versions or within the unreleased branches such as dev.
If no, write 'No'.
If you are adding/modifying connector documents, please follow our new specifications: https://github.com/apache/seatunnel/issues/4544.
-->
### How was this patch tested?
<!--
If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
If tests were not added, please describe why they were not added and/or why it was difficult to add.
If you are adding E2E test cases, maybe refer to https://github.com/apache/seatunnel/blob/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e/src/test/resources/mysqlcdc_to_mysql.conf, here is a good example.
-->
### Check list
* [ ] If any new Jar binary package adding in your PR, please add License Notice according
[New License Guide](https://github.com/apache/seatunnel/blob/dev/docs/en/developer/new-license.md)
* [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
* [ ] If necessary, please update `incompatible-changes.md` to describe the incompatibility caused by this PR.
* [ ] If you are contributing the connector code, please check that the following files are updated:
1. Update [plugin-mapping.properties](https://github.com/apache/seatunnel/blob/dev/plugin-mapping.properties) and add new connector information in it
2. Update the pom file of [seatunnel-dist](https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml)
3. Add ci label in [label-scope-conf](https://github.com/apache/seatunnel/blob/dev/.github/workflows/labeler/label-scope-conf.yml)
4. Add e2e testcase in [seatunnel-e2e](https://github.com/apache/seatunnel/tree/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/)
5. Update connector [plugin_config](https://github.com/apache/seatunnel/blob/dev/config/plugin_config)
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-6473567152
Thanks for the conflict follow-up. The latest GitHub conflict state below supersedes earlier mergeable snapshots; a prior merge of dev does not guarantee that the branch stays conflict-free as dev advances. Separately, my existing Issue 1 still requires restoring the strict tag-mismatch assertion. Even with green CI, that test-strictness request is not cleared by an unchanged head or another reviewer's conflict-only acknowledgment.
Gate snapshot (2026-10-28T15:44:49+00:00), head `ff9c68fe4e92559606f4b5f794f51f531624a752`: [Build](https://github.com/apache/seatunnel/runs/121537071208) is `SUCCESS`.
The green check does not clear the independent source/documentation or scope requests in my [previous conclusion](https://github.com/apache/seatunnel/pull/12169#pullrequestreview-5646775957). Those requests remain unchanged; this is not an approval.
Separately, GitHub reports merge conflicts with `dev`. Please sync the latest base and resolve the conflicts first; the resulting new head needs checks and re-review. This conflict gate is independent of CI and existing source findings.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "DanielLeens (via GitHub) via commits" <co...@seatunnel.apache.org>.
DanielLeens commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-6646620130
The CI gate cited in my previous review has changed: Apache PR signal and Build are now green, so the prior PR-signal action_required instruction is obsolete. Source Issue 1 remains: restore the strict tag-mismatch assertion in ResourceManagerTest.java:474-497 so the closed manager gate cannot make it pass vacuously. Green CI does not resolve that coverage flaw. Please make that focused test correction; the other listed recommendations remain non-blocking.
This is an unchanged-head CI/merge clarification, not another full source review. No local runtime testing was performed. Daniel has READ permission; effective maintainer approval/dismissal remains separate.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "JeremyXin (via GitHub)" <gi...@apache.org>.
JeremyXin commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-5728638598
@DanielLeens
Thanks for the follow-up review. We have addressed the remaining documentation and test suggestions:
- Documented the cluster-level, homogeneous dynamic-slot assumption.
- Documented that tag-filter mismatches are intentionally excluded from generic capacity-shortage statistics.
- Added regression coverage distinguishing tag-filter mismatches from genuine capacity shortages.
- Updated ScalingRecommendation.isValidAt() Javadoc to point callers to AutoscalerView#getLatestEvaluationRecord() for the current lifecycle state.
The edge-triggered recommendation behavior and disabled periodic repeat remain unchanged to avoid duplicate downstream scaling actions.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "JeremyXin (via GitHub)" <gi...@apache.org>.
JeremyXin commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-6386597946
@DanielLeens @nzw921rx Thank you both for the detailed reviews and for staying with this PR through the updates.
I have addressed the two architecture questions on the current head. The autoscaler signal store is now owned by CoordinatorService; ResourceManager remains responsible for worker registration and slot allocation and reports capacity shortages through a ResourceShortageListener. I also moved AutoscalerConfig into EngineConfig, so the master and workers obtain it from the engine configuration instead of passing a separate config through the startup constructors.
On the E2E request: Slice 1 only evaluates signals and publishes advisory recommendations. It does not create or remove workers, and there is no external consumer of the recommendation yet. The policy, state transitions, publication, and coordinator lifecycle have unit test coverage. Would you be comfortable deferring an E2E that verifies an actual worker change to the slice that adds that behavior? If you want integration coverage of the advisory path in this PR, I can add that separately.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "JeremyXin (via GitHub)" <gi...@apache.org>.
JeremyXin commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-5713841370
@DanielLeens Thanks for the detailed review. We addressed the remaining points as follows:
1. `dynamic-slot` is a single Engine-level setting in `seatunnel.yaml`, and the current deployment model assumes consistent configuration across Workers. `WorkerProfile.dynamicSlot` is runtime metadata, not an indication that mixed slot modes are supported.
2. A tag-filter mismatch is intentionally not recorded as a generic resource shortage, since adding Workers does not necessarily resolve a tag constraint.
3. `ResourceManager` and `AutoscalerStateStore` are internal server-side contracts rather than public extension SPIs. All in-tree implementations are updated; no default methods are added.
4. Added concise lifecycle transition documentation to `AutoscalingStateTracker.evaluate()`.
5. Added `ACCEPTED`, `DUPLICATE`, and `REJECTED` semantics to `RecommendationPublisher.publish()`.
6. Periodic recommendation repeat remains intentionally disabled to avoid duplicate downstream scaling actions. Recommendations are edge-triggered when entering `FIRING`;
The remaining Build check failure will be investigated and rerun separately before merge.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on code in PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#discussion_r4248002380
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/SeaTunnelServer.java:
##########
@@ -132,7 +142,8 @@ public SlotService getSlotService() {
new DefaultSlotService(
nodeEngine,
taskExecutionService,
- seaTunnelConfig.getEngineConfig().getSlotServiceConfig());
+ seaTunnelConfig.getEngineConfig().getSlotServiceConfig(),
+ autoscalerRuntimeConfig);
Review Comment:
`AutoscaleRuntimeConfig 'Excessive adhesion to the engine startup process. Does it seem like it should be configured in the data `EngineConfig`?
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on code in PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#discussion_r4248002380
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/SeaTunnelServer.java:
##########
@@ -132,7 +142,8 @@ public SlotService getSlotService() {
new DefaultSlotService(
nodeEngine,
taskExecutionService,
- seaTunnelConfig.getEngineConfig().getSlotServiceConfig());
+ seaTunnelConfig.getEngineConfig().getSlotServiceConfig(),
+ autoscalerRuntimeConfig);
Review Comment:
`AutoscaleRuntimeConfig 'Excessive adhesion to the engine startup process. Does it seem like it should be configured in the data Engine Config?
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-5595739325
I rechecked the current Slice 1 boundary and the latest head. The autoscaler implementation remains server-local and advisory-only, and the shared `ReflectionUtils.ofNullable` regression fix is covered by a test. The remaining merge gate appears to be the canceled/failed unrelated transform-v2 integration job rather than the autoscaler unit-test matrix.
Before merge, could the failing transform-v2 job be rerun (or explicitly documented as an infrastructure failure) so the required Build check has a final status? I would also keep the current explicit Awaitility timeouts and the null-field regression test in the final head.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on code in PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#discussion_r4248002380
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/SeaTunnelServer.java:
##########
@@ -132,7 +142,8 @@ public SlotService getSlotService() {
new DefaultSlotService(
nodeEngine,
taskExecutionService,
- seaTunnelConfig.getEngineConfig().getSlotServiceConfig());
+ seaTunnelConfig.getEngineConfig().getSlotServiceConfig(),
+ autoscalerRuntimeConfig);
Review Comment:
`AutoscaleRuntimeConfig` Excessive adhesion to the engine startup process. Does it seem like it should be configured in the data `EngineConfig`?
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-6282669227
Thanks for the follow-up on the earlier points (the homogeneous dynamic-slot note, the tag-filter exclusion and the new regression test) — nothing further from me on those.
Two things are still open:
1. **Conflicts.** As @nzw921rx asked, please merge/rebase onto `dev` again and resolve the conflicts. The last two heads (`7ad4f16a32` and `23455153cda`) were dev-merge-only commits with the PR-owned files identical to `c07901ec66`, so this should be a mechanical fixup. Once the new head is pushed I'll re-diff the PR-owned files against `dev` myself to confirm the autoscaler content is unchanged apart from the conflict resolution.
2. **Config placement.** @nzw921rx's inline question about `AutoscaleRuntimeConfig` being too tightly bound to the engine startup path and possibly belonging in `EngineConfig` still has no response from your side. I gave my view on it in my previous two reviews (Issues 1 and 2), so it would help to hear back on that thread — either with the move or with your reasoning for the current placement — since the Slice 2 config will have to live wherever we settle this.
I'll take another pass as soon as both are addressed.
<!-- streview-comment:1896 -->
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-6397821044
Thanks for the contribution. The CI/merge fact in my previous review has changed. The exact-head [fork Build](https://github.com/JeremyXin/seatunnel/actions/runs/40111264670) is now **completed with failure** for `b433b42ebb0a3b01bdbc475c97e96752cdfc9cfc`. This is a gate correction, not a second full source review of that unchanged head.
The previously in-progress fork run is now completed with failure. The inspected [all-connectors-it-1 Java 11 job](https://github.com/JeremyXin/seatunnel/actions/runs/40111264670/job/120924198613) fails at `HdfsFileIT.testHdfsBinaryUpdateModeContinuousDiscoveryPostSyncDelete:387 -> cancelContinuousJob:665`: the cancellation command exits 1 and its stack reports `TaskGroupContextNotFoundException` while a source requests a split. The corresponding job passed on JDK 17 in the collected run; this does not make the failed JDK 11 leg a pass.
The HDFS test is unchanged in latest dev, and no matching merged cancellation fix was identified; related [#12311](https://github.com/apache/seatunnel/pull/12311) is still open. Syncing is not a demonstrated cure. Please rerun just the failed job, preserving the failing log for the shared engine/cancellation investigation if it repeats. No autoscaler change is supported by this failure, since the feature is disabled on that path. The earlier engine-server UT execution gap remains closed by the actual passing engine-server tests already documented.
Comparison against dev is `diverged`, ahead 35 / behind 3; merge conflicts: no. Drift is recorded independently and does not itself justify a sync request. No new source-level blocker from my previous full review is asserted here; a successful required Build and write-capable maintainer approval remain separate gates. Daniel has READ permission, so this comment is not an effective approval. Thanks for keeping the fix focused.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-5747502441
@JeremyXin thanks for the follow-up and for the clear summary of what changed. I've gone through the latest head (`dfcc9b1369`) and the automated review notes on it.
Where things stand from my side:
- The documentation/test items from the previous round (homogeneous `dynamic-slot` assumption, tag-filter mismatch exclusion from shortage evidence, the new regression test, and the `isValidAt()` Javadoc pointer to `AutoscalerView#getLatestEvaluationRecord()`) look good and match what you described.
- `dfcc9b136` ("run spotless:apply") resolves the only new problem flagged on `814224b426` – the `recordShortage()` Javadoc wrapping in `ResourceRequestHandler.java`. `Run / Code style` is reported green on this head, so the downstream jobs are now actually executing instead of being skipped.
- Keeping the edge-triggered recommendation and the disabled periodic repeat unchanged is fine with me; the duplicate-downstream-action argument is sound for an advisory-only slice.
Remaining asks before I approve:
1. The automated review raised one carryover item: `startAutoscaler()` is not isolated from active-master activation. It's flagged as low severity and non-blocking, but I'd like either a short explanation in this thread of why it's safe as-is, or a small guard so a failure inside `startAutoscaler()` can't affect master activation. Your call which – just let me know.
2. Please rerun the unrelated failing integration jobs so the final Build status on `dfcc9b1369` is meaningful, and make sure the explicit Awaitility timeouts and the null-field regression test stay in the final head.
3. If you push anything further, a one-line note on what changed would help me avoid another full re-read.
Once (1) and (2) are sorted I'm happy to move this forward.
<!-- streview-comment:1190 -->
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-6269503348
please resolve conlicts!
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#issuecomment-6432331733
Following up on my earlier ask to resolve the conflicts: based on the thread, the latest head `ff9c68fe4e92559606f4b5f794f51f531624a752` includes a merge from `dev`, and the recorded comparison against `dev` shows no merge conflicts (branch is diverged, ahead 35 / behind 3). So that point looks addressed on my side.
One remaining ask on this topic: `dev` is moving, so please keep the branch mergeable with `dev` until it lands, and if you rebase or merge again, drop a short note here so I know to re-check. Nothing else needed from me on the conflicts item.
<!-- streview-comment:2070 -->
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Feature][Zeta] Add advisory autoscaling for Zeta engine Slice1 [seatunnel]
Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on code in PR #12169:
URL: https://github.com/apache/seatunnel/pull/12169#discussion_r4247934420
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/resourcemanager/ResourceManager.java:
##########
@@ -75,4 +79,12 @@ CompletableFuture<List<SlotProfile>> applyResources(
ConcurrentMap<Address, WorkerProfile> getRegisterWorker();
RequestSlotOperationStats getRequestSlotOperationStats();
+
+ void reportAutoscalerMetrics(WorkerMetricsSample sample, long receiveTimeMillis);
Review Comment:
Thank you for your hard work. This seems to be outside the scope of responsibilities of the ResourceManager. How can we keep the responsibilities of AutoScaling clear?
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org