You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by GitBox <gi...@apache.org> on 2019/01/15 02:17:24 UTC

[flink] Diff for: [GitHub] intsmaze closed pull request #7489: Update state_backends.md about add the RocksDBStateBackend dependency

diff --git a/docs/ops/state/state_backends.md b/docs/ops/state/state_backends.md
index e4fe5bda063..7307d7e67c1 100644
--- a/docs/ops/state/state_backends.md
+++ b/docs/ops/state/state_backends.md
@@ -146,6 +146,17 @@ env.setStateBackend(new FsStateBackend("hdfs://namenode:40010/flink/checkpoints"
 </div>
 </div>
 
+Stateback provides api implementations of FsStateBackend and MemoryStateBackend by default. 
+If you want to set Per-job state backend to RocksDBStateBackend, you need to add a dependency in your Flink project.
+
+{% highlight xml %}
+<dependency>
+    <groupId>org.apache.flink</groupId>
+    <artifactId>flink-statebackend-rocksdb{{ site.scala_version_suffix }}</artifactId>
+    <version>{{site.version }}</version>
+</dependency>
+{% endhighlight %}
+
 
 ### Setting Default State Backend
 


With regards,
Apache Git Services