You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "jian666wang-maker (via GitHub)" <gi...@apache.org> on 2026/04/01 09:30:55 UTC
[I] [Benchmark] Add SAGA_ANNOTATION mode to benchmark CLI [incubator-seata]
jian666wang-maker opened a new issue, #8038:
URL: https://github.com/apache/incubator-seata/issues/8038
### Background
Seata already has an annotation-based Saga implementation (`BranchType.SAGA_ANNOTATION`) under `saga/seata-saga-annotation` (e.g. `@SagaTransactional`, `@CompensationBusinessAction`).
`seata-benchmark-cli` currently supports `--mode SAGA` (state-machine JSON) but **does not benchmark annotation-based Saga**.
### Goal
Add `--mode SAGA_ANNOTATION` (or `SAGA-ANNOTATION`) to benchmark CLI to measure the annotation-based Saga path.
### Scope / Design Notes
- Implement a new executor (e.g. `SagaAnnotationModeExecutor`).
- Likely requires bootstrapping a **minimal Spring context** so annotation scanning + interceptors/proxies work as intended.
- Provide one or more annotated participant services to execute a configurable number of business steps.
### Acceptance Criteria
- `BenchmarkConfig` / `BenchmarkRunner` accept the new mode.
- Benchmark CLI can run the annotation Saga mode end-to-end against a TC (with `--server`).
- Supports `--branches` semantics (define clearly for this mode) and rollback percentage.
- README includes a runnable example.
### References
- Branch type enum: `org.apache.seata.core.model.BranchType#SAGA_ANNOTATION`
- Annotation module: `saga/seata-saga-annotation`
--
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: notifications-unsubscribe@seata.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [I] [Benchmark] Add SAGA_ANNOTATION mode to benchmark CLI [incubator-seata]
Posted by "WangzJi (via GitHub)" <gi...@apache.org>.
WangzJi commented on issue #8038:
URL: https://github.com/apache/incubator-seata/issues/8038#issuecomment-4168807206
Closing for now per maintainer request; will reopen/create correctly if needed.
--
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: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [I] [Benchmark] Add SAGA_ANNOTATION mode to benchmark CLI [incubator-seata]
Posted by "WangzJi (via GitHub)" <gi...@apache.org>.
WangzJi closed issue #8038: [Benchmark] Add SAGA_ANNOTATION mode to benchmark CLI
URL: https://github.com/apache/incubator-seata/issues/8038
--
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: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org