ApplicationStartingEvent事件回调
ts.start(listener)
refreshContext
startServer()
ApplicationStartedEvent事件回调
nacos服务启动流程
listeners.starting(...)
SpringApplication初始化
9848作为grpc服务端和客户端通信9849作为grpc服务端注册中心数据同步
Spring boot中的扩展机制:bean的扩展 beanPostPrecessor拦截bean
BaseRpcServer#start
ServerImpl#start
server.start()
prepareContext(..)
NettyServer#start
applyInitializers(context)-initialize(context)
RequestHandler#handle
listeners.started(...)
main启动
SpringApplication#run
调用nacos服务端注册