SOFARPC (Spring Cloud SOFA RPC)

Updated at:

Spring Cloud SOFA integrates the SOFARPC framework from Ant Group to support point-to-point service invocations between applications.

Note

For more information, see SOFARPC overview.

Configure SOFARPC

  1. Add the Spring Cloud SOFA RPC dependency to your project.

    Do not configure the version. The dependencyManagement element controls the version.

    <dependency>
         <groupId>com.alipay.cloud</groupId>
         <artifactId>spring-cloud-starter-sofa-rpc</artifactId>
    </dependency>
  2. Publish and reference services using XML or annotations.

    For more information, see Publish a SOFARPC service and Reference a SOFARPC service.