[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/table-retraction
Commit: c8f8a41b5942c00c05d78a1e1f58ba50a489a509
Parents: ffca0e7
Author: Omar Erminy <omr...@gmail.com>
Authored: Wed Mar 29 09:35:23 2017 +0200
Committer: zentol <ches...@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`.
 

Reply via email to