dubbo/dubbo-compatible
qinliujie 0d4e8304bc
refactor dubbo module (#12276)
* refactor:extract MergeableCluster as a single module

* fix:add license header

* fix:add dubbo-plugin-cluster-mergeable to .artifacts

* refactor:extract module from dubbo-cluster

* refactor:extract dubbo-plugin-router-condition module

* refactor:extract dubbo-plugin-router-tag module

* refactor:move metric filter out from dubbo-cluster

* refactor:add pom dependency

* fix:ut and dependency

* fix:ut

* refactor:extract dubbo-plugin-loadbalance-adaptive

* refactor:extract dubbo-remoting-zookeeper-api module

* refactor:extract dubbo-configcenter-file module

* refactor:extract dubbo-metadata-rest module

* refactor:extract dubbo-monitor-common module

* refactor: extrace dubbo-plugin-access-log module

* refactor: extrace dubbo-plugin-tps module

* refactor: extrace dubbo-plugin-token module

* refactor: extract dubbo-plugin-generic-invoke module

* refactor: extract dubbo-plugin-context module

* refactor: extract dubbo-plugin-classloader-filter module

* refactor: extract dubbo-plugin-proxy-bytebuddy module

* refactor: extract dubbo-plugin-qos-trace module

* refactor: extract FutureFilter from dubbo protocol module

* refactor: add modules to pom

* ut:fix ut dependency
2023-07-03 15:55:42 +08:00
..
src Support get alibaba GenericService from spring context (#12585) 2023-06-22 19:31:31 +08:00
README.md add README for compatible module (#2019) 2018-07-05 10:38:09 +08:00
pom.xml refactor dubbo module (#12276) 2023-07-03 15:55:42 +08:00

README.md

dubbo-compatible

Hi, all

From 2.7.x, Dubbo has renamed package to org.apache.dubbo, so dubbo-compatible module is provided.

For compatibility with older versions, we provider the following most popular APIs(classes/interfaces):

  • com.alibaba.dubbo.rpc.Filter / Invocation / Invoker / Result / RpcContext / RpcException
  • com.alibaba.dubbo.config.annotation.Reference / Service
  • com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo
  • com.alibaba.dubbo.common.Constants / URL
  • com.alibaba.dubbo.common.extension.ExtensionFactory
  • com.alibaba.dubbo.common.serialize.Serialization / ObjectInput / ObjectOutput
  • com.alibaba.dubbo.cache.CacheFactory / Cache
  • com.alibaba.dubbo.rpc.service.EchoService / GenericService

The above APIs work fine with some unit tests in the test root.

Except these APIs, others provided in dubbo-compatible are just bridge APIs without any unit tests, they may work with wrong. If you have any demand for them, you could:

  • Implement your own extensions with new APIs. (RECOMMENDED)
  • Follow com.alibaba.dubbo.rpc.Filter to implement bridge APIs, and then contribute to community.
  • Open issue on github.

By the way, We will remove this module some day, so it's recommended that implementing your extensions with new APIs at the right time.

Now we need your help: Any other popular APIs are missing?

For compatible module, any suggestions are welcome. Thanks.