chickenlj commented on issue #2030: [Proposal]Metadata(URL) problems and 
possible solutions
URL: 
https://github.com/apache/incubator-dubbo/issues/2030#issuecomment-418938829
 
 
   ## Parameters need to transfer to Registry
   
   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 are subsets of keys in 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         | N?                  |
   | port          | Y         | N not in parameters |
   | 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               | Y?          |
   | 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.
   
   **All transfer to Consumer side**
   
   #### others
   
   others: 
side/dubbo/timestamp/pid/generic/methods/revision/default/notify/dynamic
   
   the `dubbo`? &  `timestamp`  should be transfered.
   
   ### TranferKeys
   
   - application
   - codec
   - exchanger
   - ~~host~~
   - ~~protocol~~
   - ~~payload~~
   - ~~port~~
   - serialization
   - cluster
   - connections
   - deprecated
   - group
   - loadbalance
   - mock
   - path
   - timeout
   - token
   - version
   - warmup
   - weight
   - ~~dubbo~~?
   - timestamp
   - ~~pid~~
   - Any method level configuration of the listed keys above
   
   ## Parameters to search center
   
   * All parameters should be stored to search center
   * Further enrich method signature information: method name, param name, JSON 
string that fully reflects the parameter structure.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to