Apache Avro 介绍
来源:互联网 发布:java分离字符串 编辑:程序博客网 时间:2024/05/16 10:45
Download
Avro implementations for C, C++, C#, Java, PHP, Python, and Ruby can be downloaded from the Apache Avro™ Releases page. This guide uses Avro 1.7.7, the latest version at the time of writing. For the examples in this guide, download avro-1.7.7.jar and avro-tools-1.7.7.jar. The Avro Java implementation also depends on the Jackson JSON library. From the Jackson download page, download the core-asl and mapper-asl jars. Add avro-1.7.7.jar and the Jackson jars to your project’s classpath (avro-tools will be used for code generation).
Alternatively, if you are using Maven, add the following dependency to your POM:
<dependency> <groupId>org.apache.avro</groupId> <artifactId>avro</artifactId> <version>1.7.7</version></dependency>
As well as the Avro Maven plugin (for performing code generation):
<plugin> <groupId>org.apache.avro</groupId> <artifactId>avro-maven-plugin</artifactId> <version>1.7.7</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>schema</goal> </goals> <configuration> <sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory> <outputDirectory>${project.basedir}/src/main/java/</outputDirectory> </configuration> </execution> </executions></plugin><plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration></plugin>
You may also build the required Avro jars from source. Building Avro is beyond the scope of this guide; see the Build Documentation page in the wiki for more information.
- Apache Avro 介绍
- Apache Avro
- Apache Avro
- Avro介绍
- Apache Avro简介
- Apache Avro Java手册
- 使用Apache Avro
- 使用Apache Avro
- Apache Avro 入门
- Apache Avro RPC 实例
- Apache Avro项目简介
- Apache Avro简介
- 使用Apache Avro
- 使用Apache Avro
- avro简单介绍
- avro简单介绍
- avro简单介绍
- Apache Avro 与 Thrift 比较
- php获取浏览器内核版本
- Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_highgui in java.library.path
- 谈PHP发展前景和就业解析 -兄弟连IT教育
- iOS开发全面解析多线程
- MongoDb 命令查询所有数据库列表
- Apache Avro 介绍
- Android安全机制浅谈-android学习之旅(80)
- hibernate关联关系笔记
- s5pv210裸机实验之led
- python读写文件,和设置文件的字符编码比如utf-8
- 测试csdn的blog
- Android之failed for task ':app:dexDebug'致gradle编译OOM问题解决(android-support-multidex)
- 两条的链表交点
- Git基础