module: built on SpringBoot;
RPC api interface: use thrift to provide thrift interface;
@SpringApplication
: springApplication.run()
: can’t run.
Why?
Because this service cannot run as a springboot service. Since it’s exposing RPC thrift api outside, it must run via a thrift server, i.e. using a thrift server to wrap pure springboot server.
how: register userService
into the thriftServer’s processor
. and other several parameters.