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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
