flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [02/13] flink git commit: [FLINK-6212] [docs] Add avro dependency reference
Date Wed, 05 Apr 2017 20:42:27 GMT
[FLINK-6212] [docs] Add avro dependency reference

Adds the reference to the maven dependecy for flink-avro
in the "Avro support in Flink" section.

This closes #3638.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c8f8a41b
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c8f8a41b
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c8f8a41b

Branch: refs/heads/master
Commit: c8f8a41b5942c00c05d78a1e1f58ba50a489a509
Parents: ffca0e7
Author: Omar Erminy <omrsin@gmail.com>
Authored: Wed Mar 29 09:35:23 2017 +0200
Committer: zentol <chesnay@apache.org>
Committed: Wed Apr 5 20:41:13 2017 +0200

----------------------------------------------------------------------
 docs/dev/batch/connectors.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/c8f8a41b/docs/dev/batch/connectors.md
----------------------------------------------------------------------
diff --git a/docs/dev/batch/connectors.md b/docs/dev/batch/connectors.md
index 912d0af..b7a0718 100644
--- a/docs/dev/batch/connectors.md
+++ b/docs/dev/batch/connectors.md
@@ -87,7 +87,15 @@ This section shows some examples for connecting Flink to other systems.
 ## Avro support in Flink
 
 Flink has extensive build-in support for [Apache Avro](http://avro.apache.org/). This allows
to easily read from Avro files with Flink.
-Also, the serialization framework of Flink is able to handle classes generated from Avro
schemas.
+Also, the serialization framework of Flink is able to handle classes generated from Avro
schemas. Be sure to include the Flink Avro dependency to the pom.xml of your project.
+
+~~~xml
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>flink-avro{{ site.scala_version_suffix }}</artifactId>
+  <version>{{site.version }}</version>
+</dependency>
+~~~
 
 In order to read data from an Avro file, you have to specify an `AvroInputFormat`.
 


Mime
View raw message