incubator-seata-go
incubator-seata-go copied to clipboard
Service invocation (RPC) in both seata-go and seata Saga
Description:
Currently, in the Java codebase, we consider a method of a Spring bean as the implementation of a service. In the context of Go, we need an alternative approach, such as treating RPC calls as a form of service.
Implementation Details:
1. Implement RPC Type Service in seata-go:
- Develop and implement an RPC type service in seata-go. This involves defining a
ServiceTypespecifically tailored for RPC-based services.
2. Extend seata for RPC Type Service:
- Modify the existing seata codebase to recognize and support the newly introduced RPC type service. This entails adapting the seata framework to accommodate RPC service execution.
Next Steps:
-
Implement RPC Type Service in seata-go:
- Define and implement a new
ServiceTypewithin seata-go that specifically handles services executed via RPC.
- Define and implement a new
-
Extend seata for RPC Type Service:
- Modify the seata framework to incorporate and support the RPC type service. Ensure that seata recognizes and appropriately manages service execution via RPC calls.
By completing these steps, we aim to introduce RPC type services in seata-go and extend seata's capabilities to seamlessly handle and execute services invoked through RPC calls.
please assgin to me.