avro serialization implement for dubbo.
we use maven to build and manage dependencies.
download src
git clone https://github.com/dubbo/dubbo-serialization-avro.git
build from src, and install to you local maven repository.
cd dubbo-serialization-avro
maven clean source:jar install -Dmaven.test.skip=true
Add dependencies in pom.xml
:
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-serialization-avro</artifactId>
<version>2.7.0-SNAPSHOT</version>
</dependency>
Configure you dubbo use the serialization
<!-- protocol serialization style -->
<dubbo:protocol serialization="avro" />
<!-- default configuration, will take effect if serialization is not configured in <dubbo:protocol> -->
<dubbo:provider serialization="avro" />
That's All, Thx for use!