You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/04/07 12:52:07 UTC
[flink-web] 01/07: Add Stateful Functions 2.0.0 to Downloads page
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/flink-web.git
commit c9e58ab3683e8f8e5b2e6630a9e9f7e29ac9b985
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Tue Mar 31 11:49:05 2020 +0800
Add Stateful Functions 2.0.0 to Downloads page
This closes #318.
---
_config.yml | 23 +++++++++++++++++++++++
downloads.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/_config.yml b/_config.yml
index eb85889..b23c7a1 100644
--- a/_config.yml
+++ b/_config.yml
@@ -17,6 +17,12 @@ FLINK_GITHUB_URL: https://github.com/apache/flink
FLINK_CONTRIBUTORS_URL: https://cwiki.apache.org/confluence/display/FLINK/List+of+contributors
FLINK_GITHUB_REPO_NAME: flink
+FLINK_STATEFUN_VERSION_STABLE: 2.0.0
+FLINK_STATEFUN_STABLE_SHORT: "2.0"
+
+FLINK_STATEFUN_GITHUB_URL: https://github.com/apache/flink-statefun
+FLINK_GITHUB_REPO_NAME: flink-statefun
+
# Example for scala dependent component:
# -
# name: "Prometheus MetricReporter"
@@ -140,6 +146,17 @@ flink_releases:
asc_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-json/1.9.2/flink-json-1.9.2.jar.asc
sha_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-json/1.9.2/flink-json-1.9.2.jar.sha1
+flink_statefun_releases:
+ -
+ version_short: "2.0"
+ source_release:
+ name: "Apache Flink Stateful Functions 2.0.0"
+ id: "200-statefun-download-source"
+ flink_version: "1.10.0"
+ url: "https://www.apache.org/dyn/closer.lua/flink/flink-statefun-2.0.0/flink-statefun-2.0.0-src.tgz"
+ asc_url: "https://downloads.apache.org/flink/flink-statefun-2.0.0/flink-statefun-2.0.0-src.tgz.asc"
+ sha512_url: "https://downloads.apache.org/flink/flink-statefun-2.0.0/flink-statefun-2.0.0-src.tgz.sha512"
+
component_releases:
-
name: "Apache Flink-shaded 10.0 Source Release"
@@ -377,6 +394,12 @@ release_archive:
version_long: 0.6-incubating
release_date: 2014-08-26
+ flink_statefun:
+ -
+ version_short: 2.0
+ version_long: 2.0.0
+ release_date: 2020-04-02
+
flink_shaded:
-
version: 10.0
diff --git a/downloads.md b/downloads.md
index cfd52ea..c7714d3 100644
--- a/downloads.md
+++ b/downloads.md
@@ -115,6 +115,23 @@ Please have a look at the [Release Notes for Flink {{ flink_release.version_shor
{% endfor %}
+Apache FlinkĀ® Stateful Functions {{ site.FLINK_STATEFUN_VERSION_STABLE }} is the latest stable release for the [Stateful Functions](https://flink.apache.org/stateful-functions.html) component.
+
+{% for flink_statefun_release in site.flink_statefun_releases %}
+
+## {{ flink_statefun_release.source_release.name }}
+
+<p>
+<a href="{{ flink_statefun_release.source_release.url }}" class="ga-track" id="{{ flink_statefun_release.source_release.id }}">{{ flink_statefun_release.source_release.name }} Source Release</a>
+(<a href="{{ flink_statefun_release.source_release.asc_url }}">asc</a>, <a href="{{ flink_statefun_release.source_release.sha512_url }}">sha512</a>)
+</p>
+
+This version is compatible with Apache Flink version {{ flink_statefun_release.source_release.flink_version }}.
+
+---
+
+{% endfor %}
+
## Additional Components
These are components that the Flink project develops which are not part of the
@@ -135,6 +152,8 @@ Along with our releases, we also provide sha512 hashes in `*.sha512` files and c
## 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`.
@@ -157,6 +176,26 @@ You can add the following dependencies to your `pom.xml` to include Apache Flink
</dependency>
```
+### Apache Flink Stateful Functions
+
+You can add the following dependencies to your `pom.xml` to include Apache Flink Stateful Functions in your project.
+
+```xml
+<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.
+
## Update Policy for old releases
As of March 2017, the Flink community [decided](http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-Time-based-releases-in-Flink-tp15386p15394.html) 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.
@@ -189,6 +228,19 @@ Flink {{ flink_release.version_long }} - {{ flink_release.release_date }}
{% endfor %}
</ul>
+### Flink-StateFun
+{% assign flink_statefun_releases = site.release_archive.flink_statefun %}
+<ul>
+{% for flink_statefun_release in flink_statefun_releases %}
+<li>
+Flink Stateful Functions {{ flink_statefun_release.version_long }} - {{ flink_statefun_release.release_date }}
+(<a href="https://archive.apache.org/dist/flink/flink-statefun-{{ flink_statefun_release.version_long }}/flink-statefun-{{ flink_statefun_release.version_long }}-src.tgz">Source</a>,
+<a href="{{ site.DOCS_BASE_URL }}flink-statefun-docs-release-{{ flink_statefun_release.version_short }}">Docs</a>,
+<a href="{{ site.DOCS_BASE_URL }}flink-statefun-docs-release-{{ flink_statefun_release.version_short }}/api/java">Javadocs</a>)
+</li>
+{% endfor %}
+</ul>
+
### Flink-shaded
{% assign shaded_releases = site.release_archive.flink_shaded | sort: 'release_date' | reverse %}
<ul>