protocols
stream的调用过程
com.taobao.hsf.io.stream.AbstractClientStream#write
com.taobao.hsf.io.PacketFactory#clientCreate
com.taobao.hsf.io.serialize.Serializer#serialize
com.taobao.hsf.io.netty.tcp.NettyClientStream#send
调用链
AppServiceContainer
{
"jar:file:/Users/muan/.m2/repository/com/taobao/hsf/hsf-core/2.2.5.8-SNAPSHOT/hsf-core-2.2.5.8-20180531.022738-12.jar!/META-INF/services/com.taobao.hsf.threadpool.ExecutorManager": {
"com.taobao.hsf.threadpool.impl.DefaultExecutorManager": "com.taobao.hsf.threadpool.impl.DefaultExecutorManager"
},
"jar:file:/Users/muan/.m2/repository/com/taobao/hsf/hsf-feature-default/2.2.5.8-SNAPSHOT/hsf-feature-default-2.2.5.8-20180531.022745-12.jar!/META-INF/services/com.taobao.hsf.threadpool.ExecutorManager": {
"com.taobao.hsf.executor.HSFExecutorManager": "com.taobao.hsf.executor.HSFExecutorManager"
}
}
加载配置服务
配置项的继承关系
cofig取值
{
"hsf.publish.delayed": "false",
"hsf.proxy.style": "jdk",
"hsf.server.remove.class": "false",
"hsf.shuthook.wait": "10000",
"hsf.max.hb.failed.times": "3",
"hsf.generic.throw.exception": "false",
"hsf.registry.default": "cs",
"hsf.client.localcall": "true",
"hsf.generic.remove.null": "false",
"hsf.online.block.wait.time": "7000",
"hsf.online.segment.count": "10",
"hsf.governance.type": "diamond",
"hsf.server.min.poolsize": "50",
"hsf.server.thread.keepalive": "300",
"hsf.run.mode": "1",
"hsf.generic.remove.class": "false",
"hsf.online.retry.time": "3",
"hsf.default.group": "HSF",
"hsf.server.port": "12200",
"hsf.backlog": "2048",
"hsf.usepojomethod": "false",
"hsf.http.port": "122