Skip to content

Dubbo Service Config URL

tooyoung edited this page Jul 11, 2018 · 5 revisions

The URL for provider parameters comes from:

  1. ApplicationConfig
  2. ModuleConfig
  3. ProviderConfig
  4. ProtocolConfig
  5. ServiceConfig
  6. MethodConfig&ArgumentConfig
  7. others: side/dubbo/timestamp/pid/generic/methods/revision/default/token/notify/dynamic

ApplicationConfig

application(name) need to transfer.

ModuleConfig

Module info may not need to transfer to registry.

ProviderConfig

ProviderConfig ‘ keys comes from ServiceConfig and ProtocolConfig, And It's default. prefix should be removed.

ProtocolConfig

key C use transfer
accepts N N
accesslog N N
buffer Y N
charset N N
client Y N
codec Y Y
contextpath N N
default N N
dispatcher N N
dispather N N
exchanger Y Y
extension Y N
heartbeat N N
host Y Y
id N N
iothreads N N
keep-alive N N
name Y Y
networker p2p? ?
optimizer for kryo? ?
path N N
payload Y Y
port Y Y
prompt N N
queues N N
register N N
serialization Y Y
server N N
status N N
telnet N N
threadpool N N
threads N N
transporter Y N

ServiceConfig

key C use transfer
accesslog N N
actives Y N?
async Y N
cache Y N?
callbacks callback limits N?
cluster Y Y
connections Y Y
delay N N
deprecated Y Y
document N N
dynamic N N
executes N N
export N N
filter service.filter N N
generic Y N?
group Y Y
id N N
interface Y N, use path
layer N N
listener N N
loadbalance Y Y
local same with stub ??
merger Y N
mock Y Y
monitor N N
onconnect N N
ondisconnect N N
owner N N
path Y Y
proxy N N
ref N N
register Y Y
retries Y N?
scope N N
sent Y N?
serialization Y Y
stub Y N
timeout Y Y
token Y Y
validation Y N
version Y Y
warmup Y Y
weight Y Y

MethodConfig&ArgumentConfig

Method & Argument Config should not transfer to registry. Use configurators instead.

others

others: side/dubbo/timestamp/pid/generic/methods/revision/default/notify/dynamic

the dubbo & timestamp & pid should be transfer.

TranferKeys

  • application
  • codec
  • exchanger
  • host
  • protocol
  • payload
  • port
  • serialization
  • cluster
  • connections
  • deprecated
  • group
  • loadbalance
  • mock
  • path
  • timeout
  • token
  • version
  • warmup
  • weight
  • dubbo
  • timestamp
  • pid