flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject flink git commit: [FLINK-6212] [docs] Add avro dependency reference
Date Wed, 05 Apr 2017 21:06:12 GMT
Repository: flink
Updated Branches:
  refs/heads/release-1.2 3e41ed1b1 -> 36b068b08


[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/36b068b0
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/36b068b0
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/36b068b0

Branch: refs/heads/release-1.2
Commit: 36b068b08ce76f360e5ac45b0eaffb922b04a529
Parents: 3e41ed1
Author: Omar Erminy <omrsin@gmail.com>
Authored: Wed Mar 29 09:35:23 2017 +0200
Committer: zentol <chesnay@apache.org>
Committed: Wed Apr 5 23:05:22 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/36b068b0/docs/dev/batch/connectors.md
----------------------------------------------------------------------
diff --git a/docs/dev/batch/connectors.md b/docs/dev/batch/connectors.md
index 4e5b009..5bf510c 100644
--- a/docs/dev/batch/connectors.md
+++ b/docs/dev/batch/connectors.md
@@ -107,7 +107,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