title: “Downloads”

{% toc %}

Apache Flink® {{ site.FLINK_VERSION_STABLE }} is our latest stable release.

{% for flink_release in site.flink_releases %}

{{ flink_release.binary_release.name }}

{% if flink_release.binary_release.scala_211 %}

{% endif %}

{% if flink_release.binary_release.scala_212 %}

{% endif %}

{% if flink_release.source_release %}

{% if flink_release.optional_components or flink_release.sql_components_url %}

Optional components

{% endif %}

{% if flink_release.optional_components %} {% assign components = flink_release.optional_components | | sort: ‘name’ %} {% for component in components %}

{% if component.scala_dependent %}

{% if component.scala_211 %}

{% if component.scala_212 %}

{% else %}

{% endfor %}

{% endif %}

{% if flink_release.sql_components_url != nil %}

{% if flink_release.alternative_binaries %}

Alternative Binaries

{% assign alternatives = flink_release.alternative_binaries | | sort: ‘name’ %} {% for alternative in alternatives %}

{% if alternative.scala_211 %}

{% endif %}

{% if alternative.scala_212 %}

{% endif %}

{% endfor %}

{% endif %}

Release Notes

Please have a look at the [Release Notes for Flink {{ flink_release.version_short }}]({{ flink_release.release_notes_url }}) if you plan to upgrade your Flink setup from a previous version.


{% endfor %}

Apache Flink® Stateful Functions {{ site.FLINK_STATEFUN_VERSION_STABLE }} is the latest stable release for the Stateful Functions component.

{% for flink_statefun_release in site.flink_statefun_releases %}

{{ flink_statefun_release.source_release.name }}

This version is compatible with Apache Flink version {{ flink_statefun_release.source_release.flink_version }}.


{% endfor %}

Apache Flink® ML {{ site.FLINK_ML_VERSION_STABLE }} is the latest stable release for machine learning.

{% for flink_ml_release in site.flink_ml_releases %}

{{ flink_ml_release.source_release.name }}

This version is compatible with Apache Flink version {{ flink_ml_release.source_release.flink_version }}.


{% endfor %}

Apache Flink® Kubernetes Operator {{ site.FLINK_KUBERNETES_OPERATOR_VERSION_STABLE }} is the latest stable release for the Flink Kubernetes Operator.

{% for flink_kubernetes_operator_release in site.flink_kubernetes_operator_releases %}

{{ flink_kubernetes_operator_release.source_release.name }}

This version is compatible with Apache Flink version {{ flink_kubernetes_operator_release.source_release.flink_version }}.


{% endfor %}

Apache Flink® Table Store {{ site.FLINK_TABLE_STORE_VERSION_STABLE }} is the latest stable release for the Flink Table Store.

{% for flink_table_store_release in site.flink_table_store_releases %}

{{ flink_table_store_release.source_release.name }}

This version is compatible with Apache Flink version {{ flink_table_store_release.source_release.flink_version }}.


{% endfor %}

Additional Components

These are components that the Flink project develops which are not part of the main Flink release:

{% for additional_component in site.component_releases %}

{% endfor %}

Verifying Hashes and Signatures

Along with our releases, we also provide sha512 hashes in *.sha512 files and cryptographic signatures in *.asc files. The Apache Software Foundation has an extensive tutorial to verify hashes and signatures which you can follow by using any of these release-signing KEYS.

Maven Dependencies

Apache Flink

You can add the following dependencies to your pom.xml to include Apache Flink in your project. These dependencies include a local execution environment and thus support local testing.

  • Scala API: To use the Scala API, replace the flink-java artifact id with flink-scala_2.11 and flink-streaming-java_2.11 with flink-streaming-scala_2.11.
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-java</artifactId>
  <version>{{ site.FLINK_VERSION_STABLE }}</version>
</dependency>
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-streaming-java_2.11</artifactId>
  <version>{{ site.FLINK_VERSION_STABLE }}</version>
</dependency>
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-clients_2.11</artifactId>
  <version>{{ site.FLINK_VERSION_STABLE }}</version>
</dependency>

Apache Flink Stateful Functions

You can add the following dependencies to your pom.xml to include Apache Flink Stateful Functions in your project.

<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>statefun-sdk</artifactId>
  <version>{{ site.FLINK_STATEFUN_VERSION_STABLE }}</version>
</dependency>
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>statefun-flink-harness</artifactId>
  <version>{{ site.FLINK_STATEFUN_VERSION_STABLE }}</version>
</dependency>

The statefun-sdk dependency is the only one you will need to start developing applications. The statefun-flink-harness dependency includes a local execution environment that allows you to locally test your application in an IDE.

Apache Flink ML

You can add the following dependencies to your pom.xml to include Apache Flink ML in your project.

<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-ml-core_2.12</artifactId>
  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
</dependency>
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-ml-iteration_2.12</artifactId>
  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
</dependency>
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-ml-lib_2.12</artifactId>
  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
</dependency>

Advanced users could only import a minimal set of Flink ML dependencies for their target use-cases:

  • Use artifact flink-ml-core_2.12 in order to develop custom ML algorithms.
  • Use artifacts flink-ml-core_2.12 and flink-ml-iteration_2.12 in order to develop custom ML algorithms which require iteration.
  • Use artifact flink-ml-lib_2.12 in order to use the off-the-shelf ML algorithms from Flink ML.

Apache Flink Kubernetes Operator

You can add the following dependencies to your pom.xml to include Apache Flink Kubernetes Operator in your project.

<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-kubernetes-operator</artifactId>
  <version>{{ site.FLINK_KUBERNETES_OPERATOR_VERSION_STABLE }}</version>
</dependency>

Update Policy for old releases

As of March 2017, the Flink community decided to support the current and previous minor release with bugfixes. If 1.2.x is the current release, 1.1.y is the previous minor supported release. Both versions will receive bugfixes for critical issues.

Note that the community is always open to discussing bugfix releases for even older versions. Please get in touch with the developers for that on the dev@flink.apache.org mailing list.

All stable releases

All Flink releases are available via https://archive.apache.org/dist/flink/ including checksums and cryptographic signatures. At the time of writing, this includes the following versions:

Flink

{% assign flink_releases = site.release_archive.flink %}

Flink-StateFun

{% assign flink_statefun_releases = site.release_archive.flink_statefun %}

Flink-shaded

{% assign shaded_releases = site.release_archive.flink_shaded | sort: ‘release_date’ | reverse %}

Flink-ML

{% assign flink_ml_releases = site.release_archive.flink_ml %}

Flink-Kubernetes-Operator

{% assign flink_kubernetes_operator_releases = site.release_archive.flink_kubernetes_operator %}

Flink-Table-Store

{% assign flink_table_store_releases = site.release_archive.flink_table_store %}