This is an automated email from the ASF dual-hosted git repository.
sjwiesman pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
The following commit(s) were added to refs/heads/release-2.0 by this push:
new 8ac4c32 [hotfix] Add missing configurations to flink session cluster
deployment
8ac4c32 is described below
commit 8ac4c32ae875b61c9a92586755c147a97659d51a
Author: Seth Wiesman <[email protected]>
AuthorDate: Thu Apr 16 13:09:56 2020 -0500
[hotfix] Add missing configurations to flink session cluster deployment
---
docs/deployment-and-operations/packaging.md | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/docs/deployment-and-operations/packaging.md
b/docs/deployment-and-operations/packaging.md
index e6a11c4..ff0f6ca 100644
--- a/docs/deployment-and-operations/packaging.md
+++ b/docs/deployment-and-operations/packaging.md
@@ -60,12 +60,20 @@ If you prefer to package your job to submit to an existing
Flink cluster, simply
{% endhighlight %}
It includes all of Stateful Functions' runtime dependencies and configures the
application's main entry-point.
-You do not need to take any action beyond adding the dependency to your POM.
<div class="alert alert-info">
<strong>Attention:</strong> The distribution must be bundled in your
application fat JAR so that it is on Flink's <a
href="https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/debugging_classloading.html#inverted-class-loading-and-classloader-resolution-order">user
code class loader</a>
</div>
{% highlight bash %}
-./bin/flink run ./statefun-example.jar
+./bin/flink run -c org.apache.flink.statefun.flink.core.StatefulFunctionsJob
./statefun-example.jar
{% endhighlight %}
+
+The following configurations are strictly required for running StateFun
application.
+
+{% higlight yaml %}
+classloader.parent-first-patterns.additional:
org.apache.flink.statefun;org.apache.kafka;com.google.protobuf
+jobmanager.scheduler: legacy
+execution.checkpointing.max-concurrent-checkpoints: 1
+{% endhighlight %}
+