apache / apache/incubator-seata-samples

tcc BusinessActionContext get null

Open
#86 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

Try to write a springboot dubbo tcc demo base on the dubbo-tcc-sample.
When I run my code, the parameter 'BusinessActionContext actionContext' of method 'prepare' shows null. Have tried everything I can, but still can not solve this problem.

Contributor guide

Open the contributing guide

Research direction

Compare the reported Spring Boot implementation with the repository's dubbo-tcc-sample, focusing on the prepare method and its BusinessActionContext parameter. Reproduce the null value first, then trace the sample's invocation path to identify what differs and verify that the context is available when prepare runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.